ANNOUNCE: GHC 6.10.1 beta

Paul Jarc prj at po.cwru.edu
Wed Sep 24 18:22:53 EDT 2008


Ian Lynagh <igloo at earth.li> wrote:
> Running
>     ghc-pkg describe rts
> will show you library-dirs, amongst other things.

Ah, ok.  Well, the gmp library directory is indeed listed there.  But
what exactly is ghc supposed to do with it?  From the behavior I'm
seeing, it looks like it passes -L<dir> to the linker, but not
-Xlinker -R<dir>.  pwd gets compiled and linked just fine; it only
complains when it runs.  The *dynamic* linker can't find libgmp.so,
since it isn't in a systemwide library directory, and pwd wasn't
linked with -Xlinker -R<dir>.


paul


More information about the Glasgow-haskell-users mailing list