From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15360 invoked by alias); 19 Dec 2007 20:06:59 -0000 Received: (qmail 15315 invoked by uid 22791); 19 Dec 2007 20:06:50 -0000 X-Spam-Check-By: sourceware.org Received: from el-out-1112.google.com (HELO el-out-1112.google.com) (209.85.162.182) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Dec 2007 20:06:38 +0000 Received: by el-out-1112.google.com with SMTP id n30so751613elf.20 for ; Wed, 19 Dec 2007 12:06:30 -0800 (PST) Received: by 10.142.216.9 with SMTP id o9mr556129wfg.173.1198094789521; Wed, 19 Dec 2007 12:06:29 -0800 (PST) Received: by 10.142.126.8 with HTTP; Wed, 19 Dec 2007 12:06:29 -0800 (PST) Message-ID: Date: Wed, 19 Dec 2007 20:06:00 -0000 From: NightStrike To: "Martin Krischik" Subject: Re: GCC does not build gfortran !! Cc: gcc-help@gcc.gnu.org In-Reply-To: <200712192034.23093.krischik@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <765852.6744.qm@web51303.mail.re2.yahoo.com> <20071207162437.2vor9b2qpwosgkk0@server265-han.de-nserver.de> <200712192034.23093.krischik@users.sourceforge.net> X-IsSubscribed: yes 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 X-SW-Source: 2007-12/txt/msg00350.txt.bz2 On 12/19/07, Martin Krischik wrote: > Am Samstag 08 Dezember 2007 schrieb NightStrike: > > > If you put the gmp and mpfr source in subdirectories of the gcc tree, > > gcc will build them automatically for you and you don't have to worry > > about anything. I do this on 5 different build platforms, and it > > works superbly. > > > > You can put this in a script: > > > > cd gcc > > > > wget -qO- ftp://ftp.gnu.org/gnu/gmp/gmp-4.2.2.tar.bz2 | tar xjf - && > > mv gmp-4.2.2 gmp > > > > wget -qO- http://www.mpfr.org/mpfr-current/mpfr-2.3.0.tar.bz2 | tar > > xjf - && mv mpfr-2.3.0 mpfr > > > > > > The rest is seemless. You don't even need to use the --with-gmp and > > --with-mpfr options. It's wonderful. > > I finally found some to time to try it. Only - ./configure still tested the > pre installed version of gmp and failed. Since I am not root I can't remove > the pre installed version. So another dead end in the battle with gmp / mpfr. > > It think that when GCC 4.3.0 goes live this group will be swamped with gmp / > mpfr related posts. Mark my word. This is the part in configure.ac that you are trying to trigger: if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs" gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc" # Do not test the mpfr version. Assume that it is sufficient, since # it is in the source tree, and the library has not been built yet # but it would be included on the link line in the version check below # hence making the test fail. have_gmp=yes fi And similarly with gmp. Are you sure that you put the gmp and mpfr directories in the right place? ie, $(srcdir)/gmp?