
7 May
2008
7 May
'08
5:24 p.m.
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 ? Cheers, Daniel