X-Compiling with Minwg

for want of a better place: Here's how I cross-compile *cough* windoof apps on Debian Gnu/Linux:

./configure --host=i586-mingw32msvc --build=i386-linux --prefix=/home/rgareus/.wine/drive_c/x-prefix/

for .dll's: use AC_LIBTOOL_WIN32_DLL in configure.ac and

CFLAGS="-no-undefined" ./configure ...
PKG_CONFIG_DIR=/home/rgareus/.wine/drive_c/x-prefix/lib/pkgconfig/ \
CFLAGS="-I/home/rgareus/.wine/drive_c/x-prefix/include" \
LDFLAGS="-L/home/rgareus/.wine/drive_c/x-prefix/lib/ -L/home/rgareus/.wine/drive_c/x-prefix/bin" \
./configure --host=i586-mingw32msvc --build=i386-linux \
            --prefix=/home/rgareus/.wine/drive_c/x-prefix/
 
wiki/mingw.txt · Last modified: 08.07.2010 15:56 by rgareus