This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: building gcc for mipsel
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Peter Münster <pmlists at free dot fr>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Mon, 22 Aug 2016 15:08:51 +0100
- Subject: Re: building gcc for mipsel
- Authentication-results: sourceware.org; auth=none
- References: <877fb8ewlm.fsf@roche-blanche.net>
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