Primary goals of uClibc

Rich Felker dalias at aerifal.cx
Mon May 15 20:08:33 UTC 2006


On Mon, May 15, 2006 at 09:45:39AM +0200, Peter S. Mazinger wrote:
> On Sun, 14 May 2006, Mike Frysinger wrote:
> 
> > On Saturday 13 May 2006 17:24, Peter S. Mazinger wrote:
> > > Hello!
> > >
> > > Are size or glibc'ism the primary goals of uClibc?
> > >
> > > If size, then what about 'struct stat'?
> > 
> > 'struct stat' is padded out so that it doesnt change size and thus doesnt 
> > break ABI with userspace apps
> > 
> > what exactly are you even talking about ?
> > -mike
> 
> I am trying to find out generally, why we do not use exactly the same 
> structures provided by the kernel, that would probably save space.
> Is this to be compatible w/ glibc and more apps, or for some other reason?

Last I checked uclibc _does_ use the same struct provided by the
kernel, but then 'converts' it anyway.. :)

As for my implementation, I don't use the kernel struct because it has
32bit time_t in it.. (and the padding bits are supposedly for
nanoseconds rather than for the high bits of seconds)

Rich




More information about the uClibc mailing list