From: VINCENT <c-v...@ba...> - 2003-05-03 13:00:13
|
On Saturday 03 May 2003 11:35, you wrote: >Have we got gcc-3.3 patches available then? It seems that gcc-3.3 support natively the target sh4-linux, but I have some problems when compiling (as describe in the Bill Gatliff's tuto) : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< "make all-gcc" /home/c-vinc02/Compilation/gcc/gcc/xgcc -B/home/c-vinc02/Compilation/gcc/gcc/ -B/usr/local/LinuxDC//sh4-linux/bin/ -B/usr/local/LinuxDC//sh4-linux/lib/ -isystem /usr/local/LinuxDC//sh4-linux/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -I. -I. -I. -I./. -I./config -I./../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fPIC \ -Dinhibit_libc -c ./crtstuff.c -DCRT_BEGIN -DCRTSTUFFS_O \ -o crtbeginS.o crtstuff.c: In function `__do_global_dtors_aux': crtstuff.c:280: warning: passing arg 1 of `__deregister_frame_info' discards qualifiers from pointer target type crtstuff.c: In function `frame_dummy': crtstuff.c:316: warning: passing arg 1 of `__register_frame_info' discards qualifiers from pointer target type /tmp/ccD6ag9O.s: Assembler messages: /tmp/ccD6ag9O.s:117: Error: Rest of line ignored. First ignored character is `-'. /tmp/ccD6ag9O.s:123: Error: Rest of line ignored. First ignored character is `-'. /tmp/ccD6ag9O.s:188: Error: Rest of line ignored. First ignored character is `-'. make[1]: *** [crtbeginS.o] Error 1 make[1]: Leaving directory `/home/c-vinc02/Compilation/gcc/gcc' make: *** [all-gcc] Error 2 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Maybe, my sh4 assembler is too old (binutils-2.11.2) and don't understand a new syntaxe ??? If this didn't come from the assembler, I am not sufficiently qualified to solve this problem... I give you this famous '/tmp/ccD6ag9O.s' file. You can find a snapshot of the gcc-3.3 here : http://www710.univ-lyon1.fr/~c-vinc02/downloads/gcc-3.3-20030427.tar.bz2 |