3 # cross-compile on linux using mingw32 for windows
7 PATH=/usr/mingw32/mingw32/bin:$PATH
13 ../../src/texk/configure --host=i386-linux --enable-shared=no || exit 1
14 # make the kpathsea library
15 (cd kpathsea && $MAKE ../kpathsea/libkpathsea.la ) || exit 1
16 # make the newmpost binary
17 cp -a ../../src/texk/web2c .
18 (cd web2c/mpdir; $MAKE ) || exit 1
19 mv web2c/mpdir/newmpost web2c/mpdir/newmpost.exe
20 $STRIP web2c/mpdir/newmpost.exe
24 ls -l build-win/texk/web2c/mpdir/newmpost.exe