Size of crosscompiled exectuable
allbery.b at gmail.com
Fri Jan 25 16:50:28 CET 2013
On Fri, Jan 25, 2013 at 8:58 AM, Nathan Hüsken <nathan.huesken at posteo.de>wrote:
> A simple hello world application has 1Mb in by 64 bit ubunut machine.
> When I stript it, is has about 750kb.
> When I build a cross compiler for android (arm), the executable has a
> asize of about 10MB, stripped about 5MB.
If I had to guess, libc is linked dynamically on Ubuntu (Linux really wants
this) but statically when cross-compiled.
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Glasgow-haskell-users