FW: [uClibc]RE: Help: Simple newbie build problem

James Don JDon at spacebridge.com
Wed Jan 8 01:11:37 UTC 2003


-----Original Message-----
From: James Don 
Sent: Tuesday, January 07, 2003 8:11 PM
To: 'andersen at codepoet.org'
Cc: 'uclibc at uclibc.org'
Subject: RE: [uClibc]RE: Help: Simple newbie build problem

Sorry guess I should give more detail ... here it goes:

I just finished getting linux working on a PPC based board with a ram disk
image from www.denx.de containing bash etc ... to do this I have built/used
the following packages:

1.) gcc 2.95.3 ... built with newlib
2.) ppcboot ... linux bootloader
3.) kernel 2.4 form montavista

Now that I have the kernel running I am moving on to work on writing
applications ... instead of using an existing development kit ... The first
thing I want to build was busybox ... but because my gcc was built with only
newlib I think I was running into problems that I otherwise wouldn't have if
I used uClibc or glibc ...

So I decided to build uClibc ... which I have done ...

Now I am confused by the instructions on "how to build a cross compiler" at
(http://penguinppc.org/embedded/cross-compiling/) ... in the example here
they use glibc ... after compiling the compiler with newlib ... the build
glibc ... then recompile gcc with glibc ...


Now my question ... I am now just curious if because I used uClibc I don't
have to worry about the "recompiling" of gcc with uClibc instead of glibc
... I assume the gcc wrappers generated by the uClibc compile lets me skip
this step.

I think I have explained ? This is all still new to me ...

Thanks,
Jim

-----Original Message-----
From: Erik Andersen [mailto:andersen at codepoet.org] 
Sent: Tuesday, January 07, 2003 8:01 PM
To: James Don
Cc: 'uclibc at uclibc.org'
Subject: Re: [uClibc]RE: Help: Simple newbie build problem

On Tue Jan 07, 2003 at 07:55:31PM -0500, James Don wrote:
> Cool thanks ... just wanted to make sure I wasn't missing anything ...
> 
> I have one more question that should make sure I am on the right track ...
> hopefully its no bother ...
> 
> I built only bootstrapped gcc with newlib to begin with ... then I build
> uClibc ... the README says it wraps compilers built for glibc ... will my
> wrappers be ok if I didn't use glibc at anypoint ?
> 
> Thanks again and best regards,

I'm not sure I follow you.  Lets start from the other
direction...  What are you attempting to build?

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list