This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with building gcc 4.9.0 (libstdc++)
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Kirill Voronin <kvoronin at labchem dot sscc dot ru>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Fri, 8 Aug 2014 10:56:06 +0100
- Subject: Re: Problem with building gcc 4.9.0 (libstdc++)
- Authentication-results: sourceware.org; auth=none
- References: <693b4667786deba40baff7463b17d5fb dot squirrel at mx dot sscc dot ru>
On 8 August 2014 10:54, Kirill Voronin wrote:
>
> I'm trying to build gcc 4.9.0 for linux (OS Red Hat, very old version).
>
> I've installed manually mpc, gmp and mpfr before running ./configure
>
> Configure line:
> ../gcc-4.9.0/configure --prefix=/usr/new/gcc_install --enable-shared
> --with-gmp=/usr/new/gmp_install --with-mpfr=/usr/new/mpfc_install
> --with-mpc=/usr/new/mpc_install
>
> and it works fine.
>
> But then I tried to make and got the following error:
>
> checking for suffix of object files... configure: error: in
> `/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc_dir/x86_64-unknown-linux-gnu/libgcc':
> configure: error: cannot compute suffix of object files: cannot compile
https://gcc.gnu.org/wiki/FAQ#configure_suffix
Follow http://gcc.gnu.org/wiki/InstallingGCC