Hi, I just wanted to inform that I managed to cross-compile from ArchLinux to Windows x64,
and I would like the Wiki to be extended of the following information:
Procedure
Requirements
python
audiofile
mingw-w64 (meta package)
aur/mingw-w64-environment
aur/mingw-w64-sdl2
aur/mingw-w64-glew
(baserom.ver.z64)
Hacks
make a symlink to libglew32.dll.a as libglew32.a$ sudo ln -s /usr/x86_64-w64-mingw32/lib/libglew32{.dll,}.a
Export compiling tools [this technique is specific for your Makefile]
$ source mingw-env x86_64-w64-mingw32 (see script)
Hi, I just wanted to inform that I managed to cross-compile from ArchLinux to Windows x64, and I would like the Wiki to be extended of the following information:
Procedure
python
audiofile
mingw-w64
(meta package)mingw-w64-environment
mingw-w64-sdl2
mingw-w64-glew
libglew32.dll.a
aslibglew32.a
$ sudo ln -s /usr/x86_64-w64-mingw32/lib/libglew32{.dll,}.a
$ source mingw-env x86_64-w64-mingw32
(see script)$ export CROSS=/usr/x86_64-w64-mingw32/bin/
(keep trailing slash)$ cp /usr/x86_64-w64-mingw32/bin/glew32.dll build/us-pc
Full solution