reid 2002/08/25 18:13:45 PDT
Modified files:
hslibs/win32 Makefile.ghc finalizers.h mkGCDep
hslibs/win32/gc-src StdDIS.gc
Log:
Tweaked Makefile.ghc to make it all build for GHC using this command
make GHC=/cygdrive/c/ghc/ghc-5.04/bin/ghc.exe GC=green-card USE_GC=YES -f
Makefile.ghc all
Turned off deprecation warnings - GreenCard/Win32 uses Addr a lot so this
is just too much noise.
Compilation reports some 'Funny global things'.
I expect I'll find out what these messages mean before too long.
(Hey GHC Dudes: how about replacing this with an informative message?)
StdDIS.gc uses the {- BEGIN_GHC_ONLY ... END_GHC_ONLY -} trick to let
it provide funPtrToAddr and friends (which are in Hugs' Addr module).
Unlike the original makefile, I don't define -mwin32 because doing so
seems to tickle a gcc bug: it invokes cpp with '-D __WIN32__' (cpp
doesn't allow a space after -D)
Note that I haven't yet tested whether I can build HGL using the
library this builds - but it does all compile.
Revision Changes Path
1.2 +31 -147 fptools/hslibs/win32/Makefile.ghc
1.2 +0 -14 fptools/hslibs/win32/finalizers.h
1.3 +3 -1 fptools/hslibs/win32/mkGCDep
1.2 +34 -1 fptools/hslibs/win32/gc-src/StdDIS.gc
_______________________________________________
Cvs-hslibs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-hslibs