I did not use -split-objs.

This option did help after I tried it. Thanks.

Hong

On Mon, Feb 8, 2010 at 11:57 AM, Felipe Lessa <felipe.lessa@gmail.com> wrote:
On Mon, Feb 08, 2010 at 11:25:13AM -0600, Hong Yang wrote:
> Can we make GHC a little bit more intelligent to automatically exclude
> unused modules at compile time as in case 4)? (Am I just too lazy to add
> several dashes?)

Did you use -split-objs?  Does it help?

--
Felipe.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe