[uClibc]Re: uCLibc

Tom Cameron TCameron at stmarysbank.com
Wed Feb 7 20:41:03 UTC 2001


Hello,
	You can not only compile most apps vs. uClibc (which I have started
to do), but you can compile the _kernel_ itself against it.  I did notice a
slight growth in size, however...but if your concern is keeping everything
standard and using the same code, I would suggest it.  As of yet, no
problems have come up by doing this either, so it looks ok to me.  Anyone
else try this?  Have any luck/bugs?

--
Thomas Cameron
Network Technician / Operations Specialist
St. Mary's Bank

> -----Original Message-----
> From:	Erik Andersen [SMTP:andersen at lineo.com]
> Sent:	Wednesday, February 07, 2001 3:29 PM
> To:	AVENARD,JEAN-YVES (HP-Australia,ex2)
> Cc:	uclibc at uclibc.org
> Subject:	[uClibc]Re: uCLibc
> 
> On Wed Feb 07, 2001 at 12:07:42PM +1100, AVENARD,JEAN-YVES
> (HP-Australia,ex2) wrote:
> > Dear Erik
> > 
> > Hope you're doing fine.
> > 
> > I'm currently trying to compile uCLibc on a SH3 based platform running a
> > linux kernel 2.4.0. On our device we are currently running short in
> space
> > and I was thinking about using your uCLibc instead. Is there any
> > restrictions to uCLibc, can it be used with normal linux or it has to
> run
> > with uCLinux only.
> 
> No, it runs just fine with standard Linux kernels.  There are no
> restrictions
> other then the constraints of the LGPL license (you can make closed source
> apps, but if you do you must make available object files so folks could,
> in
> theory, link against a different C library).
> 
> > All the documentation I've read so far mention only either ARM or M68K
> > processor. Is there any architecture based component in ucLibc ? Looking
> in
> > the source code it doesn't seem so. I see a 68k directory but the file
> > contains ML only for the 68881 which has far as I know a FPU.
> 
> A couple of things.  First, make sure you are working with the
> version from cvs.uclinux.org, which is where all current development
> is going on.
> 
> There is some arch dependant stuff, in sysdeps/linux/<arch>.  To do
> a sh port, look at what x86 does, and do the same things for sh.
> 
> > Is there a FAQ somewhere explaining how to use uclibc instead of glibc,
> link
> > and cross-compiler etc ..
> > 
> > A lot of questions as you can see and I apologize in advance if it's
> been an
> > inconvenience.
> 
> To use uClibc after compiling, the simplest way is the use the gcc wrapper
> that is built in the final stage of the uClibc compile in extra/gcc-uClibc
> 
>  -Erik
> 
> --
> Erik B. Andersen   email:  andersen at lineo.com
> --This message was written using 73% post-consumer electrons--
> 
> 
> _______________________________________________
> uclibc mailing list
> uclibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc





More information about the uClibc mailing list