{-# OPTIONS -cpp -fglasgow-exts #-}
-----------------------------------------------------------------------------
--- $Id: KludgedSystem.hs,v 1.4 2001/03/14 12:13:02 rrt Exp $
+-- $Id: KludgedSystem.hs,v 1.5 2001/03/27 16:33:17 rrt Exp $
-- system that works feasibly under Windows (i.e. passes the command line to sh,
-- because system() under Windows doesn't look at SHELL, and always uses CMD.EXE)
foreign import "_getpid" unsafe getProcessID :: IO Int
defaultCompiler :: String
-defaultCompiler = "gcc -mno-cygwin"
+defaultCompiler = "gcc -mno-cygwin -mwin32"
#endif /* mingw32_TARGET_OS */
# -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.13 2001/03/23 16:36:22 simonmar Exp $
+# $Id: Makefile,v 1.14 2001/03/27 16:33:17 rrt Exp $
TOP=../..
include $(TOP)/mk/boilerplate.mk
ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
HSC2HS_EXTRA="--cc=$(CC) --cflag=-D__GLASGOW_HASKELL__=$(ProjectVersionInt) -I$(FPTOOLS_TOP_ABS)/$(INCLUDE_DIR)"
else
-HSC2HS_EXTRA="--cc=$(CC) --cflag=-mno-cygwin --cflag=-D__GLASGOW_HASKELL__=$(ProjectVersionInt) -I$(FPTOOLS_TOP_ABS)/$(INCLUDE_DIR)"
+HSC2HS_EXTRA="--cc=$(CC) --cflag=-mno-cygwin --cflag=-mwin32 --cflag=-D__GLASGOW_HASKELL__=$(ProjectVersionInt) -I$(FPTOOLS_TOP_ABS)/$(INCLUDE_DIR)"
endif
endif