--- Simon Marlow [EMAIL PROTECTED] wrote:
On 09 January 2005 12:11, Krasimir Angelov wrote:
GHC doesn't pass -D option to gcc when it is
used as
C compiler. I don't know whether this is a bug or
a
feature but this makes imposible to use defines
from C
sources when
Following example causes 'Segentation fault' under
Linux (Mandrake). Under Windows it works well.
---
module Main where
import Control.Concurrent.MVar
import System.IO.Unsafe
main = cfun main
foreign export ccall hfun :: IO ()
foreign import
--- Simon Marlow [EMAIL PROTECTED] wrote:
I then upgraded my version to
5.02.3 and now ObjectIO doesn't work anywhere
anymore. The linker
complains in literally thousands of errors like
the ones shown below.
This is a shame because we did like the ObjectIO
library. Ah, my
colleague
Hi
The trouble is when uncomment lines 177-178 from
ObjectIO/WindowDispose.hs
For GHC-5.02.1
---
ghc: panic! (the `impossible' happened, GHC version
5.02.1):
coreSyn/CoreUtils.lhs:98: Non-exhaustive
patterns in function
Hi
How can I compile GHC from sources under Windows? I tried to compile ghc-5.02.1 and ghc-5.02.2 under cygwin but the compilation failed. First the configure program locates the installed Cygwin's ReadLine package and then then Makefile searches for the ReadLine library from the Haskell's
1)
I have 3 directories:
c:\temp\imports, c:\temp\objs and c:\temp\tst.
Current directory is c:\temp. Directory c:\temp\tst
contains 2 files: Main.hs and Ex.hs. Main.hs import
Ex.hs
I compile with
ghc tst\Main.hs -itst --make -odir objs -hidir imports
-o main.exe
ghc raise error:
FATAL: Can't
Problem while I use Dynamic libraries from C side.
Prims.o, grid.o and pack.o are compiled C modules
They uses Win32 API.
- DUMP
C:\WinHaskell2ghci prims.o grid.o pack.o WinStub.o
-lgdi32 -luser32 -lkernel32
-lcomctl32
___ ___ _
/ _ \