This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
building and install gcc: ARM Thumb Atmel EB40
- From: Pete Barrie <peter at cis dot strath dot ac dot uk>
- To: ecos-discuss at sources dot redhat dot com
- Date: Sun, 03 Mar 2002 00:49:33 +0000
- Subject: [ECOS] building and install gcc: ARM Thumb Atmel EB40
Using
Win2000 + Cygwin + binutils 2.11.2
Trying to install gcc-core-20020225 and gcc-g++-20020225
for ARM Thumb Atmel AT91EB40 board (newest version - just purchased)
The ARM Thumb install page says:
"The GNU Compiler Collection web site contains plenty of information about
installing and using GCC. Unfortunately the most recent official release
(GCC 2.95.2) is not capable of supporting eCos for ARM THUMB. A snapshot of
the GCC development sources should be used to obtain the most up-to-date
compiler with new features and bug fixes."
My interpretation of this is such that I loaded and am attempting to
install gcc-core-20020225.tar.gz and gcc-g++-20020225.tar.gz loaded
from ftp://gcc.gnu.org/pub/gcc/snapshots/index.html
Is this an OK version to use?
Anyway I get to build stage:
Build and install GCC:
make -w all-gcc install-gcc \
LANGUAGES="c c++" 2>&1 | tee make.out
and I get the output at the bottom of the mail.
Is there a more appropriate gcc version to use or
is this something else?
Thanks for any help
Pete
mkdir libgcc
mkdir thumb
mkdir libgcc/thumb
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/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
/src/gcc/g
cc-20020225/newlib/libc/include -B/tools/H-i686-pc-cygwin/arm-elf/bin/
-B/tools/
H-i686-pc-cygwin/arm-elf/lib/ -isystem
/tools/H-i686-pc-cygwin/arm-elf/include -
O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmi
ssing-prototypes -isystem ./include -Dinhibit_libc -fno-inline
-g1 -DIN_LIBGCC
2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I/src/gcc/gcc-20020225/gcc -I
/src/gcc/gcc-20020225/gcc/. -I/src/gcc/gcc-20020225/gcc/config
-I/src/gcc/gcc-20
020225/gcc/../include -DL_udivsi3 -xassembler-with-cpp -c
/src/gcc/gcc-20020225/
gcc/config/arm/lib1funcs.asm -o libgcc/./_udivsi3.o
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s: Assembler messages:
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:5: Warning: rest of line
ignored; fir
st ignored character is `@'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:6: Warning: rest of line
ignored; fir
st ignored character is `@'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:55: Error: no such instruction:
`work
.req r4 @ XXXX is this safe?'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:56: Error: no such instruction:
`divi
dend .req r0'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:57: Error: no such instruction:
`divi
sor .req r1'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:58: Error: no such instruction:
`over
done .req r2'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:59: Error: no such instruction:
`resu
lt .req r2'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:60: Error: no such instruction:
`curb
it .req r3'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:61: Error: no such instruction:
`ip .
req r12'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:62: Error: no such instruction:
`sp .
req r13'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:63: Error: no such instruction:
`lr .
req r14'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:64: Error: no such instruction:
`pc .
req r15'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:319: Warning: .type pseudo-op
used ou
tside of .def/.endef ignored.
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:319: Warning: rest of line
ignored; f
irst ignored character is `_'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:321: Error: expecting operand
after '
,'; got nothing
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:322: Error: no such instruction:
`beq
Ldiv0'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:323: Error: expecting operand
after '
,'; got nothing
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:324: Error: expecting operand
after '
,'; got nothing
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:325: Error: too many memory
reference
s for `cmp'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:326: Error: no such instruction:
`blo
Lgot_result'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Warning: rest of line
ignored; f
irst ignored character is `@'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Warning: rest of line
ignored; f
irst ignored character is `@'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Warning: rest of line
ignored; f
irst ignored character is `@'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Warning: rest of line
ignored; f
irst ignored character is `@'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: expecting operand
after '
,'; got nothing
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: no such instruction:
`cmp
lo divisor,dividend'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: no such instruction:
`mov
lo divisor,divisor,lsl'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: no such instruction:
`mov
lo curbit,curbit,lsl'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: no such instruction:
`blo
Loop1'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Warning: rest of line
ignored; f
irst ignored character is `@'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Warning: rest of line
ignored; f
irst ignored character is `@'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: expecting operand
after '
,'; got nothing
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: no such instruction:
`cmp
lo divisor,dividend'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: no such instruction:
`mov
lo divisor,divisor,lsl'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: no such instruction:
`mov
lo curbit,curbit,lsl'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: no such instruction:
`blo
Lbignum'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Warning: rest of line
ignored; f
irst ignored character is `@'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Warning: rest of line
ignored; f
irst ignored character is `@'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Warning: rest of line
ignored; f
irst ignored character is `@'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Warning: rest of line
ignored; f
irst ignored character is `@'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Warning: rest of line
ignored; f
irst ignored character is `@'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: too many memory
reference
s for `cmp'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: no such instruction:
`sub
hs dividend,dividend,divisor'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: no such instruction:
`orr
hs result,result,curbit'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: too many memory
reference
s for `cmp'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: no such instruction:
`sub
hs dividend,dividend,divisor,lsr'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: no such instruction:
`orr
hs result,result,curbit,lsr'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: too many memory
reference
s for `cmp'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: no such instruction:
`sub
hs dividend,dividend,divisor,lsr'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: no such instruction:
`orr
hs result,result,curbit,lsr'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: too many memory
reference
s for `cmp'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: no such instruction:
`sub
hs dividend,dividend,divisor,lsr'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: no such instruction:
`orr
hs result,result,curbit,lsr'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: expecting operand
after '
,'; got nothing
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: no such instruction:
`mov
nes curbit,curbit,lsr'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: no such instruction:
`mov
ne divisor,divisor,lsr'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:328: Error: no such instruction:
`bne
Loop3'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:330: Error: too many memory
reference
s for `mov'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:331: Error: too many memory
reference
s for `mov'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:335: Error: invalid char '['
beginnin
g operand 2 `[sp'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:335: Error: no such instruction: `bl
__div0 (PLT)'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:335: Error: expecting operand
after '
,'; got nothing
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:335: Error: no such instruction:
`ldm
ia sp!,{pc}'
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:335: Warning: .size pseudo-op
used ou
tside of .def/.endef ignored.
/c/DOCUME~1/peter/LOCALS~1/Temp/ccbgwpdP.s:335: Warning: rest of line
ignored; f
irst ignored character is `_'
make[2]: *** [libgcc/./_udivsi3.o] Error 1
make[2]: Leaving directory `/tmp/build/gcc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/tmp/build/gcc/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/tmp/build/gcc'
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss