3 # cross-compile on linux using mingw32 for windows
7 PATH=/usr/mingw32/mingw32/bin:$PATH
14 ../../src/texk/configure --host=i386-linux --enable-shared=no || exit 1
15 # make the kpathsea library
16 (cd kpathsea && $MAKE ../kpathsea/libkpathsea.la ) || exit 1
23 (../../../../../src/texk/web2c/mpdir/lib/configure \
24 --host=i386-linux --enable-shared=no ; $MAKE )|| exit 1
26 # make the newmpost binary
28 ln -s ../../../../src/texk/web2c/mpdir/Makefile .
29 ln -s ../../../../src/texk/web2c/mpdir/mpost.w .
33 mv newmpost newmpost.exe
37 ls -l build-win/texk/web2c/mpdir/newmpost.exe