This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: Big endian libgcc for arm7tdmi


I have tried to compile gcc with big-endian, and other patches but
compilation (assembler) fails. At ecos archive i found out that it can
be due to execution of wrong as so I added /usr/bin at the beginning of
PATH i.e.
PATH=/gnutools/bin/:usr/bin:$PATH; export PATH giving (copy-pasted from
set command output):

PATH=/gnutools/bin:/usr/bin:/usr/kerberos/sbin:/home/arm/bin:/opt/ecos/gnutools/arm-elf/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin

but it still fails please see make.out extract below:
It it matters my platform is Linux (Fedora Core 4) gcc version 3.4.2

--------- make.out extract
-------------------------------------------------------
/tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/ -nostdinc
-B/tmp/build/gcc/arm-elf/newlib/ -isystem
/tmp/build/gcc/arm-elf/newlib/targ-include -isystem
/root/src/gnutools/gcc-3.2.1/newlib/libc/include
-B/gnutools/arm-elf/bin/ -B/gnutools/arm-elf/lib/ -isystem
/gnutools/arm-elf/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include  -Dinhibit_libc -fno-inline -g  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I/root/src/gnutools/gcc-3.2.1/gcc -I/root/src/gnutools/gcc-3.2.1/gcc/.
-I/root/src/gnutools/gcc-3.2.1/gcc/config
-I/root/src/gnutools/gcc-3.2.1/gcc/../include -DL_udivsi3
-xassembler-with-cpp -c
/root/src/gnutools/gcc-3.2.1/gcc/config/arm/lib1funcs.asm -o
libgcc/./_udivsi3.o
/root/src/gnutools/gcc-3.2.1/gcc/config/arm/lib1funcs.asm: Assembler
messages:
/root/src/gnutools/gcc-3.2.1/gcc/config/arm/lib1funcs.asm:1: Error: junk
at end of line, first unrecognized character is `@'
/root/src/gnutools/gcc-3.2.1/gcc/config/arm/lib1funcs.asm:2: Error: junk
at end of line, first unrecognized character is `@'
/root/src/gnutools/gcc-3.2.1/gcc/config/arm/lib1funcs.asm:153: Error: no
such instruction: `work .req r4@XXXX is this safe?'
/root/src/gnutools/gcc-3.2.1/gcc/config/arm/lib1funcs.asm:154: Error: no
such instruction: `dividend .req r0'
------------------make out end
extract---------------------------------------------

Jonathan Larmour wrote:
> Ilija Koco wrote:
>> I am porting eCos to a big endian arm7tdmi processor and i get linker
>> messages that libgcc.a is little endian. Wehre can i get a big endian
>> lib.
>> I am using gcc ver 3.2.1 installed from eCos web site.
>
> Version 3.2.1 does not contain big endian support. Follow the
> instructions at http://ecos.sourceware.org/build-toolchain.html to
> build a GCC with the big endian patch supplied there.
>
> Jifl


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]