haskell static libraries issue on Solaris 10 x86...

Stefan Parvu stefanparvu14 at yahoo.com
Wed Jun 13 16:58:39 EDT 2007


> Rod (or Stefan) could you try to test this distribution with your
> various linkers as follows:
> 
> cd ghc-6.6.1
> ./configure --prefix=$HOME/ghc-6.6.1
> gmake install
> export PATH=$HOME/ghc-6.6.1/bin:$PATH
> ghc --make hello.hs
> 
> where hello.hs contains:
> main = putStrLn "hello"
> 

This is with the original linker from S11 and it *works*

sparvu at earth>env LD_LIBRARY_PATH=/opt/csw/lib ghc --make hello.hs 

[1 of 1] Compiling Main             ( hello.hs, hello.o )
Linking hello ...


sparvu at earth>ls -lrt hello*
-rw-r--r--   1 sparvu   eng           24 Jun 13 23:53 hello.hs
-rw-r--r--   1 sparvu   eng          215 Jun 13 23:57 hello.hi
-rw-r--r--   1 sparvu   eng         2132 Jun 13 23:57 hello.o
-rwxr-xr-x   1 sparvu   eng       473668 Jun 13 23:57 hello

thanks,
Stefan



More information about the Glasgow-haskell-bugs mailing list