[uClibc] Binaries size is too big...

Simon Posnjak simon.posnjak at cetrtapot.si
Tue Feb 17 05:52:48 UTC 2004


Dne torek 17 februar 2004 00:12 je Erik Andersen napisal(a):
> On Mon Feb 16, 2004 at 03:58:10PM -0700, Manuel Novoa III wrote:
> > On Mon, Feb 16, 2004 at 07:15:23PM +0100, Simon Posnjak wrote:
> > > I am trying to use uClibc on Axis cris system, with static linking and
> > > I found that when I compile a simple hello_world example, I get a
> > > binary which is even bigger then the glibc binary (uclibc striped: 276K
> > > - glibc striped: 259K). Is there any explanation for this? Thank you.
> >
> > <RANT>
> >
> > ATTENTION USERS... WE ARE NOT PSYCHIC!!!
> >
> > </RANT>
>
> Did you by chance build uClibc with UCLIBC_HAS_LOCALE
> and perhaps UCLIBC_PREGENERATED_LOCALE_DATA enabled?

Yes, that was the problem. Thank you! (See, Eric is a PSYCHIC!!! ;). I manged 
to build uClibc with only the locals I need and now the hello_world program 
is down to 68K.

                Regards Simon




More information about the uClibc mailing list