logo       

RE: ghc-pkg makes unnecessary assumptions on Solaris: msg#00004

lang.haskell.glasgow.bugs

Subject: RE: ghc-pkg makes unnecessary assumptions on Solaris


> How do you install ghc so that ghc-pkg doesn't use the
> Solaris linker, but instead
> the GNU linker which is called (here) gnu-ld?
>
> Obviously it doesn't want to use the Solaris linker since
> that doesn't have
> the --whole-archive option ghc-pkg needs.

There isn't a way to do this currently. ghc-pkg's support for building
GHCi libs is just a quick hack, it doesn't try to do anything sensible
on systems which have GNU ld called something other than 'ld' (or system
which don't have GNU ld, for that matter).

Just invoke the appropriate ld command by hand.

Cheers,
Simon


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise