On Fri, Jan 25, 2013 at 8:58 AM, Nathan Hüsken <nathan.huesken@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@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net