On 11/10/03 Oliver Lange wrote: > > Hello everybody, > > Is it normal that executables compiled with GCC 3 for Athlon-XP > are so much bigger than pre-compiled binaries from RPMs > (i compiled my binaries using -fomit-frame-pointer) ? > Ok, the RPMs are a bit older, but: > > Example: > native compiled RPM binary > /bin/bash 718K 457K > /bin/gzip 78K 50K > /bin/ls 82K 46K > > Of course i didn't prelink anything, and i manually tried to > strin /bin/bash, for example, but it was of course already > stripped, as done by emerge. > > So, are these sizes 'normal' ?
Depends on your CFLAGS, especially -O3 can create very big binaries. If you want a small binary use -Os. Marius -- Public Key at http://www.genone.de/info/gpg-key.pub In the beginning, there was nothing. And God said, 'Let there be Light.' And there was still nothing, but you could see a bit better.
pgp00000.pgp
Description: PGP signature
