4 TARGET_PLATFORM
=mingw32
6 BUILD_PLATFORM
=unknown-linux-gnu
7 INSTALL_DIR
="`pwd`/_mingw"
9 TARGET
="$TARGET_ARCH-$TARGET_PLATFORM"
10 BUILD
="$BUILD_ARCH-$BUILD_PLATFORM"
12 `dirname $0`/..
/configure \
13 CFLAGS
="-O2 -Wall -march=$TARGET_ARCH -mms-bitfields -fexceptions" \
14 --target=$TARGET --host=$TARGET --build=$BUILD \
15 --prefix=$INSTALL_DIR --bindir=$INSTALL_DIR --datadir=$INSTALL_DIR \