large binary footprint ?

HP Wei hp at rentec.com
Tue May 6 15:00:59 EDT 2008


machine: Sun Sparc, with SunOS 5.10
ghc version --- 6.8.2 [ solaris-binaries downloaded from ghc site ]

The Question:

  I compiled the code: putStr "Hello World!\n"
     ghc -o hello -L../lib hello.hs
  where ../lib contains the libgmp.so

  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 ?

Thanks
HP

  


More information about the Glasgow-haskell-users mailing list