ghci attempts to link entire package

Bayley, Alistair Alistair_Bayley at
Wed Dec 20 11:20:56 EST 2006

Related to some of the problems Takusen users have had, I have a
question about ghci's linker/loader: why does it appear to try to link
an entire package archive, rather than just the modules that are used?
This is in contrast to the GNU ld program which the compiler uses, which
only tries to link modules which are actually used.

Is this a feature or a bug?

Confidentiality Note: The information contained in this message,
and any attachments, may contain confidential and/or privileged
material. It is intended solely for the person(s) or entity to
which it is addressed. Any review, retransmission, dissemination,
or taking of any action in reliance upon this information by
persons or entities other than the intended recipient(s) is
prohibited. If you received this in error, please contact the
sender and delete the material from any computer.

More information about the Glasgow-haskell-users mailing list