[uClibc]Size of PPC-binaries too big?
Ulrich Dziergwa
dziergwa at ferrari-electronic.de
Tue Aug 26 07:57:05 UTC 2003
sergej.gehl at freenet.de wrote:
> Hello,
>
> I am new with uclibc, but i successfully managed
> compiling, installing and running CGI-programms compiled with uclibc on
> a i386-pc. Everything was fine, my CGI binaries were ~8-12 Kb(about 20KB with glibc).
>
> Now I'm trying to cross compile to PPC405 (gcc 2.95.3 with binutils 2.14 and
> uclibc 0.9.20 as i386->ppc cross compiler). Size of programms is about 30-35 KB now. Size of a simple HelloWorld-programm is about 20 KB! If I use
> monta vista's cross compiler with glibc, my ppc-binaries are much smaller.
> I've tryed to set up monta vista's to work with uclibc, it works but
> size of programms is much bigger as with glibc again...
> (uclibc is built with RPC but without wideChar support)
>
> It's a general ppc problem, or i'm doing something wrong?
>
Hi,
I am working for a PPC405 too. I tried a HelloWorld programm (with
uclibc), here are the results:
static 19k striped 15k
shared libraries 2.6k striped 1.8k
Regards
Ulrich Dziergwa
More information about the uClibc
mailing list