Cross compiling gcc for mipsel error [as: unrecognized option `-G']
Francois DERMU
francois@azureus-inc.com
Mon Nov 6 19:44:00 GMT 2006
That's what I get when I do a "gcc -dumpmachine" on my already installed
gcc (the one that comes with my Ubuntu dist.)
What command should I right to get the right parameter ?
--
Francois
Andrew Haley wrote:
> Francois DERMU writes:
> > Sorry my mistake...
> >
> > First I had my binutils and headers installed in a subdir (majax) of the
> > $prefix to be sure not to break anything on my machine (and that really
> > helped me !!!)
> > then I copied the content of it directly to the $prefix
> > but then on the I forgot to change it on the configuration command:
> > ../gcc-3.4.4/configure --enable-languages="c,c++,java"
> > --prefix=/usr/local-->/majax<-- --target=mipsel i486-linux-gnu
>
> What does this configure line mean? "i486-linux-gnu"?
>
> Doesn't make any sense.
>
> Andrew.
More information about the Gcc-help
mailing list