[uClinux-dev] Cross-Compiling gcc-2.95.3

From: Uwe Beutin (uwe@imbrium.de)
Date: Wed Sep 11 2002 - 05:58:51 EDT


Hello,

I have a pretty simple question, I guess. "Out of curiosity" (and, of
course, to understand the toolset build,) I am trying to cross-compile
gcc-2.95.3 for a m68k-elf target using the previously m68k-elf-targeted
binutils-2.13.

So I do a 

configure --target=m68k-elf --enable-multilib --enable-languages=c ..

Upon the make process (I have a Redhat 7.2-system and use their
2.11-assembler) I get the message "as: unrecognized option '-mc68020'"  
in libgcc1-asm.a. So I also compiled the binutils for i686-linux and
tried to use the 2.13-assembler, but I get the same error.

Looking at the man page, I see that there is an option -m68020 and not 
-mc68020...

If i understand correctly, the toolset which gcc uses to compile itself 
should be native to the machine. Using the as from the 
toolchain-m68k-elf build will not work, right?!

Can someone please help a beginner with this?! Thank you very much!

	Uwe

This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:21:50 EDT