This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Cross compiling gcc for mipsel error [as: unrecognized option `-G']
Francois DERMU writes:
> if you look close enought you'll see that my target is mipsel here
> "--target=mipsel" I'm following a short tutorial wehre the guy uses
> --target=$TARGET $HOST parametter. I'm just doing the same ;)
Please Francois, I'm trying to help you. Stop doing what this crazy
tutorial says. The target should be something like
--target=mipsel-linux, and the host should not be there. If you do
put the host there, it should be in the form --host=i686-pc-linux-gnu.
Your complete configure line will look something like
./gccmaincvs/gcc/configure --host=i686-pc-linux-gnu \
--target=mipsel-linux --with-headers=/home/test35/mipsel-linux/include \
--with-arch=mips32 --with-float=soft --prefix=/home/test35 \
--enable-languages=c,c++,java
Andrew.