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 14dir=`dirname $0` 15$dir/configure --srcdir $dir --host i586-mingw32msvc --disable-floppyd 16make 17mv mtools mtools.exe 18