-package-name
Simon Peyton-Jones
simonpj@microsoft.com
Tue, 8 Oct 2002 12:26:50 +0100
| Definitely not worthwhile? Should I be using "-package-name foo" when
| compiling for my package foo?
Yes, you definitely should do that. That's how GHC knows what package
the module is a part ot.
| >Packages are the unit of distribution, and the unit of
| >library archive, in GHC.
| >If you import a module Foo, GHC has to figure out which libBaz.a to
| >link.
|=20
| I assumed that GHC linked to all libraries mentioned in all those
| packages specified with "-package".
Ah, it's the -package flag we are planning to get rid of! =20
Simon