Making GHCi object files on MacOS

ozone at ozone at
Wed Dec 10 02:27:12 EST 2003

On 10/12/2003, at 2:23 AM, George Russell wrote:

> Section 4.10.3 of the GHC manual tells me to use
>    ld -r --whole-archive
> to convert a .a file into a .o file suitable for GHCi.  However
> these options only work for GNU ld, which doesn't seem to be
> available on MacOS

The equivalent to GNU ld's --whole-archive option on Mac OS X is 

% Andre Pang :

More information about the Glasgow-haskell-users mailing list