[uClibc]Re: [uClinux-dev] Cross-Compiling gcc-2.95.3

Fabrice Gautier Fabrice_Gautier at sdesigns.com
Thu Sep 12 22:32:51 UTC 2002


I bet you forgot to add your new cross binutils to your PATH...

Am i right ?

More specifically, the as you need to compile libgcc is indeead the
m68k-elf-as not the native one, so you need it in your path.

-- 
Fabrice Gautier, 
Fabrice_Gautier at sdesigns.com


> -----Original Message-----
> From: Uwe Beutin [mailto:uwe at imbrium.de]
> Sent: Thursday, September 12, 2002 1:52 AM
> To: uClinux Mailing List
> Cc: uClibc mailing list
> Subject: [uClibc]Re: [uClinux-dev] Cross-Compiling gcc-2.95.3
> 
> 
> On Wed, 11 Sep 2002, Uwe Beutin wrote:
> 
> > 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?!
> 
> Is the answer for my problem just too simple?! I still 
> haven't figured 
> it out and was hoping someone could just give me a hint, please?!
> 
> 	Uwe
> 
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc
> 



More information about the uClibc mailing list