aboutsummaryrefslogtreecommitdiffstats
path: root/build-w32
diff options
context:
space:
mode:
Diffstat (limited to 'build-w32')
-rwxr-xr-xbuild-w3211
1 files changed, 11 insertions, 0 deletions
diff --git a/build-w32 b/build-w32
new file mode 100755
index 00000000..bb72045c
--- /dev/null
+++ b/build-w32
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+target=i386--mingw32
+host=`./config.guess`
+
+CC="${target}-gcc"
+CPP="${target}-gcc -E"
+RANLIB="${target}-ranlib"
+
+export CC CPP RANLIB
+./configure --host=${host} --target=${target} $*