Hello all,
Thanks for Philip help , I have fixed the problem,but I meet another
problem.
Now I want to build glibc-2.1.3 library to big-endian mode , so I add option
"-Wl,-EB".
The following lists show the errors:
I really don't understand why linker want to reference to libgcc.a.
How can I fix this problem ?
arm-linux-gcc -Wl,-EB -nostdlib -nostartfiles -r -o librtld.os '-Wl,-('
dl-allobjs.os ../libc_pic.a -lgcc '-Wl,-)'
/usr/arm-linux/bin/ld: _divsi3.o: compiled for a little endian system and
target is big endian
File in wrong format: failed to merge target specific data of file
/usr/lib/gcc-lib/arm-linux/2.95.2/libgcc.a(_divsi3.o)
/usr/arm-linux/bin/ld: _dvmd_lnx.o: compiled for a little endian system and
target is big endian
File in wrong format: failed to merge target specific data of file
/usr/lib/gcc-lib/arm-linux/2.95.2/libgcc.a(_dvmd_lnx.o)
/usr/arm-linux/bin/ld: _udivsi3.o: compiled for a little endian system and
target is big endian
File in wrong format: failed to merge target specific data of file
/usr/lib/gcc-lib/arm-linux/2.95.2/libgcc.a(_udivsi3.o)
/usr/arm-linux/bin/ld: _umodsi3.o: compiled for a little endian system and
target is big endian
File in wrong format: failed to merge target specific data of file
/usr/lib/gcc-lib/arm-linux/2.95.2/libgcc.a(_umodsi3.o)
collect2: ld returned 1 exit status
make: *** [librtld.os] Error
----- Original Message -----
From: Philip Blundell <[EMAIL PROTECTED]>
To: cschiu <[EMAIL PROTECTED]>
Cc: linux-arm <[EMAIL PROTECTED]>
Sent: Thursday, June 08, 2000 6:58 PM
Subject: Re: How to config Makefile in binutils-2.9.5.0.42.
> >So I follow the tool chain guide from Chris Rutter , configure the target
> >with "armv4b" .
> >But the script can't recognize the target name ?Why ?
> >How can I modify the target that can fit my need.
>
> No released version of binutils understands big-endian ARM GNU/Linux
targets.
> It's a pretty simple change to the config scripts to add this, or you can
just
> remember to always use -EB (put it in your gcc specs file).
>
> p.
>
>
>
> unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
> ++ Please use [EMAIL PROTECTED] for
++
> ++ kernel-related discussions.
++
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++ Please use [EMAIL PROTECTED] for ++
++ kernel-related discussions. ++