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-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

HGL ang GHC on Win32

2002-03-08 Thread Hal Daume III
When I compile a program using GHC 5.02.2 on Windows 200 using HGL, using the following command line: ghc --make HelloWorld.hs -o HelloWorld.exe -package concurrent -package win32 -ic:\GraphicsLibrary\lib\win32 it compiles fine, but then when I run the exe, the window starts out initially as