[EMAIL PROTECTED] wrote:
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 -all_load.
Thank you, that seems to work. Now what should I do to prevent the GHCi linker
complaining about duplicate definitions for "__module_registered" (which
seems to be defined in some way in each object file)?
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users