Skip to contentSkip to conversation

Problem in configuring Newlib while building GCC cross compiler

DISCUSSION Ahsan Khawaja 2 participants 2 messages Jan 1, 2010

lore
Share & tools
lore
#0 lore raw

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.

regards,
Noor

#1 lore raw
Quoted 11 lines · Ahsan Khawaja

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.

Quoted 5 lines

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