Hello HP, Tuesday, May 6, 2008, 11:26:10 PM, you wrote:
my haskell-fu ends here :) on win32 platform, hello is about 600k, afair > hi Bulat, thanks for the speedy reply! > I tried the following two ways and got the same result: > (1) in the shell, > strip hello > (2) ghc -optl-s -o hello -L../lib hello.hs > They both result in a binary size of ~2.5MBytes, > which is about 5 times what I expected (500kbytes). > Have I had the 'incorrect impression' of 500kbytes ? > Thanks > hp > On Tue, 6 May 2008, Bulat Ziganshin wrote: >> Hello HP, >> >> Tuesday, May 6, 2008, 11:00:59 PM, you wrote: >> >> > The resulting binary code size is 3.9 Mbytes >> > I had the impression that it should be of the order >> > of 500 Kbytes. How can I reach that number ? >> >> strip executable. you can just add -optl-s to ghc cmdline >> >> -- >> Best regards, >> Bulat mailto:[EMAIL PROTECTED] >> >> -- Best regards, Bulat mailto:[EMAIL PROTECTED] _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users