big hello world binary on 32bit intel MacOS

2011-03-09 Thread Christian Maeder
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

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: big hello world binary on 32bit intel MacOS

2011-03-09 Thread Christian Maeder
I've created a ticket for it:

http://hackage.haskell.org/trac/ghc/ticket/5008

C.

Am 09.03.2011 14:06, schrieb Christian Maeder:
 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

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users