building gcc for mipsel

Jonathan Wakely jwakely.gcc@gmail.com
Mon Aug 22 14:09:00 GMT 2016


On 22 August 2016 at 14:56, Peter Münster wrote:
> Hi,
>
> I would like to build gcc for my Asus WL-500gP board. I guess, that I
> need to build a cross-compiler first, but unfortunately it fails.
>
> Here my building commands:
>
> ../gcc-5.4.0/configure --prefix=/opt/gcc-mipsel --enable-languages=c --target=mipsel-elf
> make
>
> And here the error message:
>
> --8<---------------cut here---------------start------------->8---
> checking for suffix of object files... configure: error: in `/home/peter/tmp/no-backup/output/mipsel-elf/libgcc':
> configure: error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details.

See https://gcc.gnu.org/wiki/FAQ#configure_suffix

And https://gcc.gnu.org/wiki/InstallingGCC



More information about the Gcc-help mailing list