Hello.

My name is Philip Ferguson.  I'm a new grad student at MIT.

I've been directed to this list by Zsolt Kiraly from Stanford and from
Chris Rutter's website (pointed to me from Zsolt).

Anyway, I'm trying to setup a GNU Toolchain for my ARM target, a PLEB car
from the University of New South Wales.  People on this list may remember
Zsolt trying to do the same thing just recently.  Now that this part of
the project has moved to MIT from Stanford, I am the guy on it now.

So, Zsolt told me to follow Chris Rutter's website EXACTLY, TO THE
LETTER.  I did that, and, well ... I had some trouble.

My problem happened when I typed make [LANGUAGES="c"] after configuring
gcc.  The errors that I got had to do with assembler errors.  It seemed as
if the assembler couldn't understand anything!  It had lines like the
following:

rm -f tmplibgcc1.a libgcc1.S
cp ./config/arm/lib1funcs.asm libgcc1.S
for name in _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx; \
do \
  echo ${name}; \
  /home2/gcc_src/gcc-2.95.1/gcc/xgcc -B/home2/gcc_src/gcc-2.95.1/gcc/
-B/usr/arm-linux/bin/ -I/usr/arm-linux/include -O2  -DCROSS_COMPILE
-DIN_GCC     -g -O2 -I./include  -fomit-frame-pointer -fPIC -g0
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-I. -I. -I./config -I./../include -c -DL${name} libgcc1.S; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  mv libgcc1.o ${name}.o; \
  arm-linux-ar rc tmplibgcc1.a ${name}.o; \
  rm -f ${name}.o; \
done
_udivsi3
/tmp/ccXlnlFg.s: Assembler messages:
/tmp/ccXlnlFg.s:2: Error: Rest of line ignored. First ignored character is
`@'.
/tmp/ccXlnlFg.s:3: Error: Rest of line ignored. First ignored character is
`@'.
/tmp/ccXlnlFg.s:72: Error: no such 386 instruction: `dividend .req r0'
/tmp/ccXlnlFg.s:73: Error: no such 386 instruction: `divisor .req r1'
/tmp/ccXlnlFg.s:74: Error: no such 386 instruction: `result .req r2'
/tmp/ccXlnlFg.s:75: Error: no such 386 instruction: `curbit .req r3'
/tmp/ccXlnlFg.s:76: Error: no such 386 instruction: `ip .req r12'
/tmp/ccXlnlFg.s:77: Error: no such 386 instruction: `sp .req r13'
/tmp/ccXlnlFg.s:78: Error: no such 386 instruction: `lr .req r14'
/tmp/ccXlnlFg.s:79: Error: no such 386 instruction: `pc .req r15'
/tmp/ccXlnlFg.s:87: Error: expecting operand after ','; got nothing
/tmp/ccXlnlFg.s:88: Error: no such 386 instruction: `beq Ldiv0'

The errors just went on and on.

Can anyone help me?

Thanks very much,

Phil




_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm

Reply via email to