This may sound like a stupid question but are you sure the glibc
that you 
        installed was actually compiled for ARM?  If GCC wasn't installed
properly 
        it seems unlikely that building the C library would have worked.  I
wonder if 
        maybe you accidentally did a native build instead.

        You should be able to tell easily enough by using `file' on the
crt1.o in 
        question.

        p.
        

Phil,

Yup,  'file ~/glibc-2.0.111/csu/crt1.o' returns  "crt1.o: ELF 32-bit LSB
relocatable, Intel 80386, version 1, not stripped". The files under
'/usr/local/arm/arm-linux/lib/crt1.o' and
'/usr/local/arm/glibc/arm-linux-glibc/lib/crt1.o' are also for 'x86'.  On
the other hand, 'file hello.o' returns "hello.o: ELF 32-bit LSB relocatable,
version 1, not stripped". It says nothing about 'x86' so I take it is an ARM
type.

I wonder why it generated X86 binaries when I specified the target as
'arm-linux':

"./configure --target=arm-linux
--prefix=/usr/local/arm/glibc/arm-linux-glibc -enable-add-ons"


How can I fix the problem? Any ideas?


Jason


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

Reply via email to