From: sof Date: Thu, 16 Sep 1999 10:25:31 +0000 (+0000) Subject: [project @ 1999-09-16 10:25:31 by sof] X-Git-Tag: Approximately_9120_patches~5799 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=3b5c5b4df499fe80e9c60fb84d960842fc30f43a [project @ 1999-09-16 10:25:31 by sof] mingw32 support --- diff --git a/distrib/configure-bin.in b/distrib/configure-bin.in index ea64cad..9a6aec2 100644 --- a/distrib/configure-bin.in +++ b/distrib/configure-bin.in @@ -45,6 +45,15 @@ i[[3456]]86-*-solaris2*) i[[3456]]86-*-cygwin32*) exeext='.exe' TargetPlatform=i386-unknown-cygwin32;; +i[[3456]]86-*-mingw32*) + exeext='.exe' + # We assume you're using mingw32 via the gcc that comes + # with cygwin, and not the native port, so let's augment + # the gcc command-line used here with -mno-cygwin to + # arrange for good things to happen. + CFLAGS="-mno-cygwin $CFLAGS" + TargetPlatform=i386-unknown-mingw32 + ;; m68k-next-nextstep2) TargetPlatform=m68k-next-nextstep2;; m68k-next-nextstep3)