From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28195 invoked by alias); 7 Dec 2007 15:25:00 -0000 Received: (qmail 28183 invoked by uid 22791); 7 Dec 2007 15:24:59 -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; Fri, 07 Dec 2007 15:24:54 +0000 Received: (qmail 1003 invoked by uid 30); 7 Dec 2007 16:24:37 +0100 Received: from ( [unknown]) by server265-han.de-nserver.de (Horde MIME library) with HTTP; Fri, 07 Dec 2007 16:24:37 +0100 Message-ID: <20071207162437.2vor9b2qpwosgkk0@server265-han.de-nserver.de> Date: Fri, 07 Dec 2007 15:25:00 -0000 From: Martin Krischik To: gcc-help@gcc.gnu.org Subject: Re: GCC does not build gfortran !! References: <765852.6744.qm@web51303.mail.re2.yahoo.com> In-Reply-To: <765852.6744.qm@web51303.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.5) 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/msg00161.txt.bz2 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=20=20 - but we have given up on it - not because we don't like Fortran or=20=20 compiling Fortran is troublesome. No it's because of GMP and MPFR. Fortran now needs those two libraries=20=20 to be installed. And those two are a real pain in the arse. If your=20=20 distribution hasn't got them I pity you. Here an except from my latest Solaris compile: ---------------------------------------------------------- configure:23091: checking for __gmpz_init in -lgmp configure:23121: /opt/gnat/gcc/bin/gcc -o conftest -Wall=20=20 -Wmissing-prototypes -g -O2 -I/opt/gnat/gcc/include=20=20 -L/opt/gnat/gcc/lib -L/opt/gnat/gcc/lib=20=20 -Wl,--library-path=3D/opt/gnat/gcc/lib=20=20 -Wl,--library-path=3D/usr/openwin/sfw/lib=20=20 -Wl,-rpath-link=3D/usr/openwin/sfw/lib=20=20 -Wl,--library-path=3D/usr/local/ssl/lib=20=20 -Wl,-rpath-link=3D/usr/local/ssl/lib -Wl,-rpath-link=3D/opt/gnat/gcc/lib=20= =20 -Wl,--library-path=3D/opt/gnat/tools/lib=20=20 -Wl,-rpath-link=3D/opt/gnat/tools/lib conftest.c -lgmp >&5 /opt/gnat/gcc/bin/ld: skipping incompatible=20=20 /opt/gnat/gcc/lib/libgmp.so when searching for -lgmp /opt/gnat/gcc/bin/ld: skipping incompatible=20=20 /opt/gnat/gcc/lib/libgmp.so when searching for -lgmp /opt/gnat/gcc/bin/ld: skipping incompatible=20=20 /opt/gnat/gcc/lib/gcc/sparc-sun-solaris2.10/4.2.2/../../../libgmp.so=20=20 when searching for -lgmp /opt/gnat/gcc/bin/ld: skipping incompatible=20=20 /opt/gnat/gcc/lib/libgmp.so when searching for -lgmp /opt/gnat/gcc/bin/ld: skipping incompatible=20=20 /opt/gnat/gcc/lib/libgmp.so when searching for -lgmp /opt/gnat/gcc/bin/ld: cannot find -lgmp ---------------------------------------------------------- And even if you manage to compile them both the trouble does not end.=20=20 No guarantee that GCC will like the freshly compiled libs. Not=20=20 dynamic, not at the right place - the list of problems is endless. I=20=20 regret the time I wasted on it. In the past Ada was the most difficult language (self hosted - you=20=20 need a working Ada compiler to create the Ada compiler) - but now it's=20=20 Fortran with it's insistence on GMP and MPFR. Martin