Robert Spanton wrote:
When building gcc for mspgcc, I get the following error message and I

/mnt/src/mspgcc/gcc-3.2.3/gcc/xgcc -B/mnt/src/mspgcc/gcc-3.2.3/gcc/ -B/usr/local/msp430/msp430/bin/ -B/usr/local/msp430/msp430/lib/ -isystem /usr/local/msp430/msp430/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -DDF=SF -Dinhibit_libc -g -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I. -I./. -I./config -I./../include -DL_cmpdi2 -xassembler-with-cpp -c ./config/msp430/libgcc.S -o libgcc/./_cmpdi2.o
config/msp430/libgcc.S: Assembler messages:
config/msp430/libgcc.S:11: Error: junk `(r1)' after expression
config/msp430/libgcc.S:11: Error: too many memory references for `sub'
config/msp430/libgcc.S:12: Error: no such instruction: `subc 4(r1),r13'
>...

looks like it's using the wrong assembler for msp430 code. did you have msp430-binutils built and installed before building gcc?


chris

Reply via email to