On 10/12/2003, at 3:35 AM, George Russell wrote:

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)?

I don't have such duplicate definitions in my files ... producing a package with "ghc-pkg -a" works OK for me with Wolfgang Thaller's GHC 6.0.1 build. Is that how you're doing it, or are you trying to produce the GHCi object file manually?



-- % Andre Pang : trust.in.love.to.save _______________________________________________ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to