Hi all, I am trying to compile gcc msp430 . I am following the instructions on the sourceforge. I get an the following error. I tried with various versions of gcc with same result. I am using gcc v 3.3.2 to compile. Any hints on what i am doing wrong? Rahul

if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/usr/src/objdir/gcc/xgcc -B/usr/src/objdir/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.././../gcc-3.3.2/gcc -I.././../gcc-3.3.2/gcc/. -I.././../gcc-3.3.2/gcc/config -I.././../gcc-3.3.2/gcc/../include -DL_cmpdi2 -xassembler-with-cpp -c .././../gcc-3.3.2/gcc/config/msp430/libgcc.S -o libgcc/./_cmpdi2.o
../../gcc-3.3.2/gcc/config/msp430/libgcc.S: Assembler messages:
../../gcc-3.3.2/gcc/config/msp430/libgcc.S:38: Error: junk `(r1)' after expression ../../gcc-3.3.2/gcc/config/msp430/libgcc.S:38: Error: too many memory references for `sub' ../../gcc-3.3.2/gcc/config/msp430/libgcc.S:39: Error: no such instruction: `subc 4(r1),r13' ../../gcc-3.3.2/gcc/config/msp430/libgcc.S:40: Error: no such instruction: `subc 6(r1),r14' ../../gcc-3.3.2/gcc/config/msp430/libgcc.S:41: Error: no such instruction: `subc 8(r1),r15' ../../gcc-3.3.2/gcc/config/msp430/libgcc.S:43: Error: no such instruction: `tst r15' ../../gcc-3.3.2/gcc/config/msp430/libgcc.S:43: Error: invalid character '<' in mnemonic ../../gcc-3.3.2/gcc/config/msp430/libgcc.S:46: Error: suffix or operands invalid for `mov' ../../gcc-3.3.2/gcc/config/msp430/libgcc.S:49: Error: no such instruction: `bis r12,r14' ../../gcc-3.3.2/gcc/config/msp430/libgcc.S:49: Error: no such instruction: `check if zero' ../../gcc-3.3.2/gcc/config/msp430/libgcc.S:50: Error: no such instruction: `bis r13,r15' ../../gcc-3.3.2/gcc/config/msp430/libgcc.S:51: Error: no such instruction: `bis r14,r15' ../../gcc-3.3.2/gcc/config/msp430/libgcc.S:52: Error: no such instruction: `tst r15' ../../gcc-3.3.2/gcc/config/msp430/libgcc.S:53: Error: suffix or operands invalid for `je' ../../gcc-3.3.2/gcc/config/msp430/libgcc.S:53: Error: junk `or or105ng all nibbles10' after expression ../../gcc-3.3.2/gcc/config/msp430/libgcc.S:53: Error: suffix or operands invalid for `test' ../../gcc-3.3.2/gcc/config/msp430/libgcc.S:54: Error: suffix or operands invalid for `mov' ../../gcc-3.3.2/gcc/config/msp430/libgcc.S:57: Error: suffix or operands invalid for `mov'
make[2]: *** [libgcc/./_cmpdi2.o] Error 1
make[2]: Leaving directory `/usr/src/objdir/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/usr/src/objdir/gcc'
make: *** [all-gcc] Error 2


Reply via email to