xref: /aosp_15_r20/external/mtools/buildMingw.sh (revision d5c9a868b113e0ec0db2f27bc2ce8a253e77c4b0)
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