From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-embedded+bounces-2816-garchives=archives.gentoo.org@lists.gentoo.org>) id 1LWWMx-0001yO-KT for garchives@archives.gentoo.org; Mon, 09 Feb 2009 13:40:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DBF3E0330; Mon, 9 Feb 2009 13:40:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id BE0B5E0330 for <gentoo-embedded@lists.gentoo.org>; Mon, 9 Feb 2009 13:40:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 603BA6530D for <gentoo-embedded@lists.gentoo.org>; Mon, 9 Feb 2009 13:40:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -0.594 X-Spam-Level: X-Spam-Status: No, score=-0.594 required=5.5 tests=[AWL=2.005, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q2X1A9z6no+C for <gentoo-embedded@lists.gentoo.org>; Mon, 9 Feb 2009 13:40:07 +0000 (UTC) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 4CE8E649FF for <gentoo-embedded@gentoo.org>; Mon, 9 Feb 2009 13:40:07 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <lists@nabble.com>) id 1LWWMo-0002Dg-JJ for gentoo-embedded@gentoo.org; Mon, 09 Feb 2009 05:40:06 -0800 Message-ID: <21911962.post@talk.nabble.com> Date: Mon, 9 Feb 2009 05:40:06 -0800 (PST) From: bscuser <smarras.bsc@gmail.com> To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] GCC 4.3 fails on mpfr Precedence: bulk List-Post: <mailto:gentoo-embedded@lists.gentoo.org> List-Help: <mailto:gentoo-embedded+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-embedded+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org> X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: smarras.bsc@gmail.com X-Archives-Salt: b559f1ee-6d01-4c8c-88bd-5ab1a98c6072 X-Archives-Hash: b35067e349c9c72a4f9e6102714c28d8 Hi there, sorry for writing again on this issue, but I have not been able to solve the problem with the configure command on GCC 4.3 due to the dependency on MPFR and GMP. I have them both installed correctly and the headers are in their own build directories, while the library files (*.a) are in /usr/local/lib. This verified, I tried different options among which the following, ../configure --with-gmp=/Users/simone/myApplications/gmp-4.2.4/ --with-gmp-lib=/usr/local/lib/libgmp.a --with-mpfr=/Users/simone/myApplications/mpfr-2.4.0/ --with-mpfr-lib=/usr/local/lib/libmpfr.a but obtaining again the same error from the configure call: configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+. Try the --with-gmp and/or --with-mpfr options to specify their locations. Copies of these libraries' source code can be found at their respective hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also http://gcc.gnu.org/install/prerequisites.html for additional info. If you obtained GMP and/or MPFR from a vendor distribution package, make sure that you have installed both the libraries and the header files. They may be located in separate packages. Why is this happening? What is it that I am not telling the configure to do ? Thank you in advance S.M. dilip_ wrote: > > Hi, > I am trying to build a cross compiler toolchain using 'crossdev 'and the > gcc source version is gcc-4.3.0 > > I am getting following errors while configuring gcc-stage1, > {{ > checking for correct version of gmp.h... yes > checking for correct version of mpfr.h... no > configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+. > Try the --with-gmp and/or --with-mpfr options to specify their > locations. > Copies of these libraries' source code can be found at their respective > hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/. > See also http://gcc.gnu.org/install/prerequisites.html for additional > info. > If you obtained GMP and/or MPFR from a vendor distribution package, make > sure that you have installed both the libraries and the header files. > They may be located in separate packages. > > !!! ERROR: cross-sh4-unknown-linux-gnu/gcc-4.3.0 failed. > Call stack: > }} > > I understand the pre-requisite for gcc-4.3 is mpfr 4.1+ but I am not > sure how to pass '--with-mpfr' configure options to gcc. > > Any help will be highly appreciated > > With kind regards, > Dilip > -- > gentoo-embedded@lists.gentoo.org mailing list > > > -- View this message in context: http://www.nabble.com/GCC-4.3-fails-on-mpfr-tp17081314p21911962.html Sent from the gentoo-embedded mailing list archive at Nabble.com.