Re: Cross compiling gcc for mipsel error [as: unrecognized option `-G']

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux