From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8181 invoked by alias); 8 Aug 2014 09:56:11 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 8171 invoked by uid 89); 8 Aug 2014 09:56:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-la0-f48.google.com Received: from mail-la0-f48.google.com (HELO mail-la0-f48.google.com) (209.85.215.48) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 08 Aug 2014 09:56:10 +0000 Received: by mail-la0-f48.google.com with SMTP id gl10so4383063lab.21 for ; Fri, 08 Aug 2014 02:56:07 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.112.163.103 with SMTP id yh7mr1352591lbb.73.1407491767005; Fri, 08 Aug 2014 02:56:07 -0700 (PDT) Received: by 10.112.94.70 with HTTP; Fri, 8 Aug 2014 02:56:06 -0700 (PDT) In-Reply-To: <693b4667786deba40baff7463b17d5fb.squirrel@mx.sscc.ru> References: <693b4667786deba40baff7463b17d5fb.squirrel@mx.sscc.ru> Date: Fri, 08 Aug 2014 09:56:00 -0000 Message-ID: Subject: Re: Problem with building gcc 4.9.0 (libstdc++) From: Jonathan Wakely To: Kirill Voronin Cc: gcc-help Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00063.txt.bz2 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