projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
55bea94
)
[project @ 1999-09-16 10:25:31 by sof]
author
sof
<unknown>
Thu, 16 Sep 1999 10:25:31 +0000
(10:25 +0000)
committer
sof
<unknown>
Thu, 16 Sep 1999 10:25:31 +0000
(10:25 +0000)
mingw32 support
distrib/configure-bin.in
patch
|
blob
|
history
diff --git
a/distrib/configure-bin.in
b/distrib/configure-bin.in
index
ea64cad
..
9a6aec2
100644
(file)
--- 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-*-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)
m68k-next-nextstep2)
TargetPlatform=m68k-next-nextstep2;;
m68k-next-nextstep3)