RE: HGL ang GHC on Win32

2002-03-18 Thread Simon Marlow
We're groping around in the dark here Sorry, yes we are. It is a bit cheeky of me to always punt and say I'll bet it is a GHC problem when I haven't even seen the bug myself on a machine whose configuration I know. Sorry about that. No problem :) In fact, it turns out that you've

Re: HGL ang GHC on Win32

2002-03-14 Thread Alastair David Reid
[mailing list trimmed] Thanks Simon, Explanation of why GreenCard generates that code attached. Briefly, GreenCard has always marshalled Word8 as a Word32 (and so has Hugs). I'm wondering if a recent change in GHC or in how Win32 is compiled might have changed the way that Word32 is being

RE: HGL ang GHC on Win32

2002-03-14 Thread Simon Marlow
That is a shame. I tried both suggestions (specifying position explicitly and recompiling with fvia-c -- i had been using O all along) and neither worked :(. I also tried using 5.03, and got the following warnings: [ message deleted ] It looks like there are some prototypes missing:

RE: HGL ang GHC on Win32

2002-03-14 Thread Simon Marlow
That is a shame. I tried both suggestions (specifying position explicitly and recompiling with fvia-c -- i had been using O all along) and neither worked :(. I also tried using 5.03, and got the following warnings: [ message deleted ] It looks like there are some prototypes missing:

RE: HGL ang GHC on Win32

2002-03-13 Thread Simon Marlow
I'm hoping that a GHC honcho will say Well of course that happens with 5.02.2 - you should upgrade to 5.03 right away. or some such. I'm afraid not :-) But there *is* a bug in the native code generator in 5.02.2, namly in the FFI support for passing floating point arguments to

RE: HGL ang GHC on Win32

2002-03-13 Thread Simon Marlow
I'm hoping that a GHC honcho will say Well of course that happens with 5.02.2 - you should upgrade to 5.03 right away. or some such. I'm afraid not :-) But there *is* a bug in the native code generator in 5.02.2, namly in the FFI support for passing floating point arguments to

RE: HGL ang GHC on Win32

2002-03-13 Thread Hal Daume III
That is a shame. I tried both suggestions (specifying position explicitly and recompiling with fvia-c -- i had been using O all along) and neither worked :(. I also tried using 5.03, and got the following warnings: ghc.exe: chasing modules from: HelloWorld.hs Compiling GraphicsFlag (

Re: HGL ang GHC on Win32

2002-03-12 Thread Alastair David Reid
When I compile a program using GHC 5.02.2 on Windows 200 using HGL, I don't have GHC installed on my Windows partition (nor space for it, I suspect) so I'll ask some questions and hope they suggest an answer. Does it work ok using Hugs and HGL? Sigbjorn Finne did a great job of packaging

Re: HGL ang GHC on Win32

2002-03-12 Thread Alastair David Reid
When I compile a program using GHC 5.02.2 on Windows 200 using HGL, I don't have GHC installed on my Windows partition (nor space for it, I suspect) so I'll ask some questions and hope they suggest an answer. Does it work ok using Hugs and HGL? Sigbjorn Finne did a great job of packaging