This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Re: linux->a29k-coff compiling error


Have you configured binutils for a29k-coff and installed it.  Is $prefix/bin (eg.
/usr/local/bin) in your path.  If not use something like "export
PATH=/usr/local/bin:$PATH" to add it.  It could be that the xgcc is picking up the
native assembler instead of the cross assembler.  You could use -v option with
configure for more verbose information.

Brendan Simon.



james wrote:

> Hi there,
>
>         to who may help me, :)
>         I'm always getting the same error msg while compiling the GCC software,
> I have tested the 2.8.1 and 2.95.2.
>
>         I searched the mailing archives, but did not find anything about the error.
>
>
>
> P.S:
>
>         my host is pc-i686-linux-gnu, my target is a29k-coff.
> my configuration is:
>
>         ../gcc-2.x.x/configure  --target=a29k-coff --with-gnu-as --with-gnu-ld
>
>   -c ../gcc-2.8.1/cp/tinfo2.cc
> make[1]: Leaving directory `/tar-files/gcc-src/james-gcc-2.8.1-a29k-coff'
> make[1]: Entering directory `/tar-files/gcc-src/james-gcc-2.8.1-a29k-coff'
> ./xgcc -B./ -O2  -DCROSS_COMPILE -DIN_GCC    -g -I./include   -g1
> -DIN_LIBGCC2 -
> D__GCC_FLOAT_NOT_NEEDED -fexceptions  -I. -I../gcc-2.8.1
> -I../gcc-2.8.1/config \
>   -c ../gcc-2.8.1/cp/new.cc
> /tmp/ccpOzwex.s: Assembler messages:
> /tmp/ccpOzwex.s:171: Error: Invalid operands
> /tmp/ccpOzwex.s:224: Error: Invalid operands
> /tmp/ccpOzwex.s:234: Error: Invalid operands
> /tmp/ccpOzwex.s:236: Error: Invalid operands
> /tmp/ccpOzwex.s:273: Error: Invalid operands
> /tmp/ccpOzwex.s:288: Error: Invalid operands
> /tmp/ccpOzwex.s:342: Error: Invalid operands
> /tmp/ccpOzwex.s:395: Error: Invalid operands
> /tmp/ccpOzwex.s:405: Error: Invalid operands
> /tmp/ccpOzwex.s:407: Error: Invalid operands
> /tmp/ccpOzwex.s:444: Error: Invalid operands
> /tmp/ccpOzwex.s:459: Error: Invalid operands
> /tmp/ccpOzwex.s:567: Error: Invalid operands
> /tmp/ccpOzwex.s:577: Error: Invalid operands
> /tmp/ccpOzwex.s:579: Error: Invalid operands
> /tmp/ccpOzwex.s:616: Error: Invalid operands
> /tmp/ccpOzwex.s:631: Error: Invalid operands
> make[1]: *** [new.o] Error 1
> make[1]: Leaving directory `/tar-files/gcc-src/james-gcc-2.8.1-a29k-coff'
> make: *** [libgcc2.a] Error 1
> [root@cvsroot james-gcc-2.8.1-a29k-coff


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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