Wojciech Moczydlowski, Jr <[EMAIL PROTECTED]> writes:
> 
>   I've compiled the following program with ghc 4.04 and the 
> latest version,
> from cvs tree. The first one resulted in about 170KB a.out, 
> the second one
> in over 1.8MB a.out! What has happened since 4.04 to justify 
> this change? Have I done sth wrong?
> 

You've probably not compiled the Prelude with -split-objs on
(maybe by overriding the default setting of GhcLibHcOpts in
mk/build.mk ... ?) If that's the case, a trad. linker ends up
incorporating pretty much all of the Prelude into your binary.

--sigbjorn

Reply via email to