6.6.1 vs 6.8.2 --- Re: large binary footprint ?
daniel.is.fischer at web.de
Wed May 7 17:24:14 EDT 2008
Am Mittwoch, 7. Mai 2008 23:04 schrieb HP Wei:
> I convinced myself that the ~500kbytes for the
> 'hello' code is 'correct' in version 6.6.1.
> [ The exact size on the platform mentioned below
> is 422k. ]
> Looks like version 6.8.2 blows up the binary code size
> significantly --- 3.9Mbytes vs 0.422Mbytes.
> Is this a known issue with 6.8.2 ?
> Is it a specific platform dependent issue --- i.e.
> does it occur on linux machines ??
I get 490k for hello without stripping and 274k with stripping on linux.
It might be the "-L../lib" option which blows up the binary size.
What happens if you just
ghc --make hello
More information about the Glasgow-haskell-users