[uClibc]Re: [uClinux-dev] Cross-Compiling gcc-2.95.3
David McCullough
davidm at snapgear.com
Fri Sep 13 00:18:46 MDT 2002
Jivin Uwe Beutin lays it down ...
> 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?!
Have a look at the build script at:
http://www.uclinux.org/pub/uClinux/m68k-elf-tools/
It should give you some hints on what is needed,
Cheers,
Davidm
--
David McCullough: Ph: +61 7 3435 2815 http://www.SnapGear.com
davidm at snapgear.com Fx: +61 7 3891 3630 Custom Embedded Solutions + Security
More information about the uClibc
mailing list