From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23536 invoked by alias); 8 Aug 2014 11:13:50 -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 23521 invoked by uid 89); 8 Aug 2014 11:13:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx.sscc.ru Received: from mx.sscc.ru (HELO mx.sscc.ru) (84.237.86.40) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 08 Aug 2014 11:13:46 +0000 Received: from root by mx.sscc.ru with drweb-scanned (Exim 4.83 (FreeBSD)) (envelope-from ) id 1XFi7D-000NUI-7Q for gcc-help@gcc.gnu.org; Fri, 08 Aug 2014 18:13:43 +0700 Received: from mx.sscc.ru ([84.237.86.40]) by mx.sscc.ru with esmtp (Exim 4.83 (FreeBSD)) (envelope-from ) id 1XFi7C-000NUA-Tl for gcc-help@gcc.gnu.org; Fri, 08 Aug 2014 18:13:43 +0700 Received: from 10.87.7.13 (SquirrelMail authenticated user kvoronin@labchem.sscc.ru) by mx.sscc.ru with HTTP; Fri, 8 Aug 2014 18:13:43 +0700 Message-ID: <3c0a74bf59884203f5d4ada056b31054.squirrel@mx.sscc.ru> In-Reply-To: Date: Fri, 08 Aug 2014 11:13:00 -0000 Subject: Re: Re: Problem with building gcc 4.9.0 (libstdc++) From: "Kirill Voronin" To: gcc-help@gcc.gnu.org User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Antivirus-Code: 0x100000 X-Drweb-SpamState: no X-Drweb-SpamScore: 0 X-DrWeb-SpamReason: X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00067.txt.bz2 OK, thanks for you responses. Can you please make it a bit more clear about how to build gcc after using download_prerequisites script ? Running ../gcc-4.9.0/configure --prefix=/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc_install --enable-shared fails with the error checking for the correct version of gmp.h... no configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+. Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify their locations. since there is no gmp, mpc and mpfr built. As far as i understand, the download_prerequisites script just downloads the source files. How should I build it? > On 8 August 2014 11:22, Kirill Voronin wrote: >> >> Actually, the version doesn't matter except it should be greater than >> 4.8. >> >> I've already read >> >> https://gcc.gnu.org/wiki/FAQ#configure_suffix >> >> but actually there is no answer for my case since I do have mpc, gmp and >> mpfr installed (correctly at least as make check claimed for each of >> these >> three). > > Then you failed to understand the FAQ. It does answer your case. > >> If it didn't find some libs, I understand that I would have checked the >> option --with-... and check the paths but now it seems like installing >> one >> of the internal (for gcc) packages stdc++ failed. > > Wrong. > >> So, you recommend to install mpc, gmp and mpfr once again using >> prerequisites? > > Don't install them separately if you don't know what you're doing. > > See http://gcc.gnu.org/wiki/InstallingGCC > --