
10 Dec
2003
10 Dec
'03
noon
George Russell wrote:
I was producing it by invoking "ld" directly, since I wrote the Makefile before the --auto-ghci-lib was introduced. However now I use --auto-ghci-lib and it seems to work, thanks.
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)?
In case anybody doesn't want to use ghc-pkg: You also need to pass the '-x' option to ld. Grüße, Wolfgang