| 1 |
Use 64 bit toolchain x86_64-w64-mingw32 |
| 2 |
|
| 3 |
In addition to cygwin base system install |
| 4 |
x86_64-SDL/image/mixer/ttf |
| 5 |
x86_64-gcc-core/debuginfo/g++ |
| 6 |
x86_64-gettext |
| 7 |
automake |
| 8 |
make |
| 9 |
along with all dependencies |
| 10 |
|
| 11 |
if configure complains about intl/po stuff, run autoreconf |
| 12 |
gettext macro is not found although present with aclocal |
| 13 |
|
| 14 |
./configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --disable-install --disable-nls |
| 15 |
|
| 16 |
make |
| 17 |
|
| 18 |
ar in libgame fails, do it manually with right ar: |
| 19 |
cd libgame; x86_64-w64-mingw32-ar.exe cru libgame.a bowl.o config.o event.o parser.o shrapnells.o tools.o chart.o cpu.o list.o sdl.o tetris.o; cd .. |
| 20 |
|
| 21 |
copy the following dlls from /usr/x86_64-w64-mingw32/sys-root/mingw/bin to src: |
| 22 |
iconv.dll |
| 23 |
libbz2-1.dll |
| 24 |
libFLAC-8.dll |
| 25 |
libfluidsynth-1.dll |
| 26 |
libfreetype-6.dll |
| 27 |
libgcc_s_seh-1.dll |
| 28 |
libglib-2.0-0.dll |
| 29 |
libgsm-1.dll |
| 30 |
libintl-8.dll |
| 31 |
libjbig-2.dll |
| 32 |
libjpeg-8.dll |
| 33 |
liblzma-5.dll |
| 34 |
libmodplug-1.dll |
| 35 |
libmpg123-0.dll |
| 36 |
libncursesw6.dll |
| 37 |
libogg-0.dll |
| 38 |
libpcre-1.dll |
| 39 |
libpng16-16.dll |
| 40 |
libreadline7.dll |
| 41 |
libsndfile-1.dll |
| 42 |
libstdc++-6.dll |
| 43 |
libtiff-5.dll |
| 44 |
libvorbis-0.dll |
| 45 |
libvorbisenc-2.dll |
| 46 |
libvorbisfile-3.dll |
| 47 |
libwebp-7.dll |
| 48 |
libwinpthread-1.dll |
| 49 |
SDL2.dll |
| 50 |
SDL2_image.dll |
| 51 |
SDL2_mixer.dll |
| 52 |
SDL2_ttf.dll |
| 53 |
zlib1.dll (no direct requirement but libpng does not work without) |
| 54 |
|