[haskell] ANNOUNCE: HNOP 0.1

mvanier mvanier at cs.caltech.edu
Fri Jun 30 03:54:15 EDT 2006


<dumb question>
Split objects?  What's that?
</dumb question>

I'm running this on Linux (Debian unstable).

Mike

Donald Bruce Stewart wrote:
> mvanier:
>> Incidentally, on my machine the compiled code is 2759360 bytes long 
>> unstripped and 1491240 stripped.  One has to wonder what all those bytes 
>> are doing.  I hope this doesn't sound petty; I love haskell and ghc, but 
>> 2.8 meg for a no-op program seems a bit excessive.
> 
> Hmm. Sounds like you're using ghc on a machine with no split objects?
> With split objs,
>     $ du -hs dist/build/hnop/hnop
>     192K    dist/build/hnop/hnop
> 
> Note the object is just:
>     $ du -hs dist/build/hnop/hnop-tmp/Main.o
>     4.0K    dist/build/hnop/hnop-tmp/Main.o
> 
> The rest is rts and the tiny bit of the prelude hnop uses.
> 
> On the mac, you can use a dynamically linked rts and base, and there
> hnop would be around 5k, I suppose.
> 
> -- Don


More information about the Haskell mailing list