Alistair Delva | beaee83 | 2021-02-24 11:27:23 -0800 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | # Build Mingw (Windows) executable | ||||
4 | # | ||||
5 | # For this you meed the mingw cross-compiler to be installed | ||||
6 | # | ||||
7 | # You may download the RPMs from http://mirzam.it.vu.nl/mingw/ | ||||
8 | # All 4 RPM's are needed: | ||||
9 | # mingw-binutils | ||||
10 | # mingw-gcc-core | ||||
11 | # mingw-runtime | ||||
12 | # mingw-w32api | ||||
13 | |||||
14 | dir=`dirname $0` | ||||
15 | $dir/configure --srcdir $dir --host i586-mingw32msvc --disable-floppyd | ||||
16 | make | ||||
17 | mv mtools mtools.exe |