From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17775 invoked by alias); 8 Dec 2007 09:04:01 -0000 Received: (qmail 17760 invoked by uid 22791); 8 Dec 2007 09:04:00 -0000 X-Spam-Check-By: sourceware.org Received: from server265-han.de-nserver.de (HELO server265-han.de-nserver.de) (85.158.176.48) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 08 Dec 2007 09:03:50 +0000 Received: (qmail 16270 invoked from network); 8 Dec 2007 10:03:39 +0100 Received: from 84-75-162-66.dclient.hispeed.ch (HELO linux2.krischik.com) (84.75.162.66) (smtp-auth username martinka, mechanism plain) by server265-han.de-nserver.de (qpsmtpd/0.40) with ESMTPA; Sat, 08 Dec 2007 10:03:39 +0100 Received: from linux2.krischik.com (linux2.krischik.com [192.168.0.2]) by linux2.krischik.com (Postfix) with ESMTP id 0A33B18001B5 for ; Sat, 8 Dec 2007 09:08:45 +0100 (CET) From: Martin Krischik To: gcc-help@gcc.gnu.org Subject: Re: GCC does not build gfortran !! Date: Sat, 08 Dec 2007 09:04:00 -0000 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) References: <765852.6744.qm@web51303.mail.re2.yahoo.com> <20071207162437.2vor9b2qpwosgkk0@server265-han.de-nserver.de> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1921036.oIHm9MxtJf"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200712080908.43409.krischik@users.sourceforge.net> X-User-Auth: Auth by martinka through 84.75.162.66 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/msg00173.txt.bz2 --nextPart1921036.oIHm9MxtJf Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-length: 1467 Am Samstag 08 Dezember 2007 schrieb NightStrike: > On 12/7/07, Martin Krischik wrote: > > Zitat von Sampath Koppole : > > > Dear all, > > > When I try to build my gcc (version 4.2.2) it does not > > > build gfortran. > > > > In the past The GNU Ada Project created Fortran just for the fun of it > > - but we have given up on it - not because we don't like Fortran or > > compiling Fortran is troublesome. > > > > No it's because of GMP and MPFR. Fortran now needs those two libraries > > to be installed. And those two are a real pain in the arse. If your > > distribution hasn't got them I pity you. > > 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. Thanks for the hint - especially mentioning the need for "mv". I heard abou= t=20 this option before but then this "minor" detail not mentioned.=20 Martin --=20 Martin Krischik mailto://krischik@users.sourceforge.net --nextPart1921036.oIHm9MxtJf Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 194 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQBHWlELijwKaHyem9cRAggAAJ4vOJBM1iz4FfiAPt3pwDe0Cmh9KgCfblEb isdhvlqLGLQyE8BoOLrqJAQ= =PuRJ -----END PGP SIGNATURE----- --nextPart1921036.oIHm9MxtJf--