ghc4.08.1 - bug in either foreign label or CString (or somewhere).

George Russell ger at Informatik.Uni-Bremen.DE
Tue Nov 14 14:35:03 EST 2000


The program attached prints "hello, world" for ghc-4.08 (on Solaris) but just "" for 
ghc-4.08.1.

To compile:

ghc hello.c Hello.hs -fglasgow-exts -syslib lang -Onot -o hello
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Hello.hs
Type: application/octet-stream
Size: 214 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20001114/c2992fb3/Hello.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hello.c
Type: application/octet-stream
Size: 55 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20001114/c2992fb3/hello.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hello.h
Type: application/octet-stream
Size: 18 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20001114/c2992fb3/hello-0001.obj


More information about the Glasgow-haskell-bugs mailing list