big hello world binary on 32bit intel MacOS
Christian Maeder
Christian.Maeder at dfki.de
Wed Mar 9 14:06:00 CET 2011
Hi,
compiling a simple putStrLn "Hello" program creates binaries of size:
ghc-6.12.3: 719K
ghc-7.0.1: 7,4M
ghc-7.0.2: 6,9M
"otool -L" for the ghc-7 binaries displays:
/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current
version 7.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.1.4)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
where /usr/lib/libgcc_s.1.dylib is not referenced for the ghc-6.12.3 binary.
I used:
http://www.haskell.org/ghc/dist/7.0.2/ghc-7.0.2-i386-apple-darwin.tar.bz2
http://www.haskell.org/ghc/dist/6.12.3/GHC-6.12.3-i386.pkg
Any explanations?
Cheers Christian
More information about the Glasgow-haskell-users
mailing list