Great minds think alike. I did this too over the w/e. I'll commit a
fix that makes it more like the way it's done in compiler/main/SysTools
and in ghc-pkg/Main
Meanwhile, is the -optl "-Wl,-lkernel32" necessary? It's not used when
linking the compiler itself, which has the same code in Systools. Could
you either remove or comment? Thx
So the Win32 situation is now as follows:
* Win32 is not necessary to bootstrap
* I think Sigbjorn may have fixed hslibs/Win32. Correct,
Sigbjorn?
* When the PLDI deadline is passed, I think Alastair is willing
to move Win32 from hslibs/ to libraries/. We will
help with the packaging part. Is that right Alastair?
Simon
| -----Original Message-----
| From: Mike Thomas [mailto:mthomas@;gil.com.au]
| Sent: 27 October 2002 10:46
| To: Simon Peyton-Jones; Alastair Reid
| Cc: [EMAIL PROTECTED]
| Subject: Re: hslibs/win32
|
| Hi there.
|
| For the time being, I've used the FFI in ghc-pkg and hsc2hs to remove
the
| Win32 dependencies.
|
| Cheers
|
| Mike Thomas
|
| ----- Original Message -----
| From: "Simon Peyton-Jones" <[EMAIL PROTECTED]>
| To: "Alastair Reid" <[EMAIL PROTECTED]>
| Cc: "Mike Thomas" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
| Sent: Saturday, October 26, 2002 1:01 AM
| Subject: RE: hslibs/win32
|
|
| | My best answer until after the pldi deadline is to tweak the
makefile
| | (and commit the result for benefit of others) to remove it from the
| | build process.
|
| I think you are saying "don't build the win32 library". The trouble
is
| that in turn means you can't bootstrap GHC on Win32 at all. And that
| means no GHCi, no TH, etc.
|
| Is there no way to fix Win32 so it still builds?
|
| Simon
|
|
| _______________________________________________
| Cvs-ghc mailing list
| [EMAIL PROTECTED]
| http://www.haskell.org/mailman/listinfo/cvs-ghc
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc