This is the mail archive of the
mailing list for the GCC project.
Re: Cross compiling gcc for mipsel error [as: unrecognized option `-G']
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 ?
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.