This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

problem with building ARM cross compiler on cygwin


Hi,

I am trying to build an ARM cross compiler under cygwin with
target=arm-thumb-elf.
I was following the steps of building the following in order.

binutils-2.13.tar.gz
gcc-core-2.95.2.1.tar.gz
newlib-1.11.0.tar.gz

But when I was trying to build gcc after configure, I got these error
message, ie.

make[2]: Entering directory `/gcc/build/gcc/gcc'
for d in libgcc thumb libgcc/thumb; do \
  if [ -d $d ]; then true; else mkdir $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/gcc/build/gcc/gcc/xgcc -B/gcc/build/gcc/gcc/ -B/gcc/arm-thumb-elf/bin/
-B/gcc/arm-thumb-elf/lib/ -isystem /gc
c/arm-thumb-elf/include -O2  -DCROSS_COMPILE -DIN_GCC	 -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissin
g-prototypes -isystem ./include  -Dinhibit_libc -fno-inline -g1 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I
. -I/gcc/gcc-3.0.4/gcc -I/gcc/gcc-3.0.4/gcc/. -I/gcc/gcc-3.0.4/gcc/config
-I/gcc/gcc-3.0.4/gcc/../include -DL_
udivsi3 -xassembler-with-cpp -c /gcc/gcc-3.0.4/gcc/config/arm/lib1funcs.asm
-o libgcc/./_udivsi3.o
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/ccfeg5gJ.s: Assembler messages:
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/ccfeg5gJ.s:2: Error: Rest of line
ignored. First ignored character is
`@'.
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/ccfeg5gJ.s:3: Error: Rest of line
ignored. First ignored character is
`@'.
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/ccfeg5gJ.s:52: Error: no such
instruction: `work .req r4 @ XXXX is thi
s safe?'
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/ccfeg5gJ.s:53: Error: no such
instruction: `dividend .req r0'
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/ccfeg5gJ.s:54: Error: no such
instruction: `divisor .req r1'
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/ccfeg5gJ.s:55: Error: no such
instruction: `overdone .req r2'
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/ccfeg5gJ.s:56: Error: no such
instruction: `result .req r2'
...............
I think these message comes from building the file lib1funcs.asm as the
ccfeg5gJ.s is only a temp file.
So I am wondering if anyone can help me to past this error.

Thank you very much,

Ben
****************************************************************************
*********************************************************
****************************************************************************
*********************************************************


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