>The crt*.o files need to end up in
>/usr/arm-linux/lib/gcc-lib/arm-linux/egcs-2.91.60
>(or equivalent directory on your system).
>
>Try:
>
> cp /work/glibc-2.1/csu/crt*.o
>/usr/arm-linux/lib/gcc-lib/arm-linux/egcs-2.91.60

No, this isn't quite right.  

There are two groups of crt*.o files - the first lot (crtbegin.o, crtbeginS.o, 
crtend.o, crtendS.o) are generated as part of egcs and do indeed live in the 
directory you mentioned under gcc-lib.  But the rest (crt1.o, crti.o, crtn.o 
and a few more) which are the ones built as part of glibc, should live in 
$PREFIX/lib (eg /usr/lib) for a native compiler and $PREFIX/arm-linux/lib for 
a cross compiler.  If the linker can't find them there the chances are it was 
built with the wrong PREFIX setting.  `ld -verbose' might tell you where it's 
looking.

p.


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to