On Tuesday 07 September 2004 17:52, Simon Peyton-Jones wrote: > That's exactly what I think. Currently we require the -package flags > when linking solely for efficiency reasons: linking would be slow if ld > was given every lib.a file installed for that compiler. But perhaps > that should be the default, which is overridden if you give a bunch of > -package flags in the link command. That would make more sense to me.
Tiny nitpick: It'd be best if you had to explicitly delete all the libraries (using a flag with a name like '-fno-packages') and then add them back in than to have specifying -package implicitly delete all the packages. It'd be pretty counterintuitive that adding one package should delete all the others. c.f., the semantics of adding 'import Prelude()' in Haskell. A bonus is that old makefiles won't break. -- Alastair _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs