[oe] Problem in configuring Newlib while building GCC cross compiler

Henning Heinold heinold at inf.fu-berlin.de
Fri Jan 1 12:50:53 UTC 2010


On Fri, Jan 01, 2010 at 11:48:17AM +0500, Ahsan Khawaja wrote:
> Hello,
> 
> I am building newlib library instead of eglibc using openembedded. I divided
> newlib package in newlib-initial-version and newlib-version. I added
> gcc-initial dependency on newlib-initial-version. I am having problem while
> configuring newlib-initial. When its configure script runs it give me error
> "checking C compiler works ... ld could not found crt0.o". I did not see any
> kind of such thing in eglibc configure script. Please help me in resolving
> this issue. I dont see any crt0.o file while compiler has place at time of
> configuring newlib-initial package.
> 
> I have few confusions here. What is the different between eglibc-initial and
> eglibc package and should I do the same for newlib package. Secondly why GCC
> is divided in different packages gcc-cross-initial, gcc-cross-intermediate
> and gcc-cross. what is the difference between these packages. Please help me
> in understanding these things. Thanks.

Hi,

our toolchain build is as following

binutils -> gcc-cross-initial -> libc-initial -> gcc-cross-intermediate -> libc -> gcc-cross

This is nessary to get a compiler wich has all the needed symbols.

Bye Henning




More information about the Openembedded-devel mailing list