From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4331 invoked by alias); 8 Dec 2007 08:03:55 -0000 Received: (qmail 4300 invoked by uid 22791); 8 Dec 2007 08:03:52 -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 08:03:43 +0000 Received: (qmail 12283 invoked from network); 8 Dec 2007 09:03:31 +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 09:03:31 +0100 Received: from linux2.krischik.com (linux2.krischik.com [192.168.0.2]) by linux2.krischik.com (Postfix) with ESMTP id 7ECEA18001BE for ; Sat, 8 Dec 2007 09:02:43 +0100 (CET) From: Martin Krischik To: gcc-help@gcc.gnu.org Subject: GMP and MPFR (Was: GCC does not build gfortran !!) Date: Sat, 08 Dec 2007 08:03: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="nextPart1424836.qidnleLqgk"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200712080902.41508.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/msg00171.txt.bz2 --nextPart1424836.qidnleLqgk Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-length: 2224 Am Freitag 07 Dezember 2007 schrieb Ian Lance Taylor: > Martin Krischik writes: > > 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. > > Note that in gcc 4.3, all languages will require GMP and MPFR, not > just Fortran. That is extremely bad news for anybody trying to create GCC on a=20 non-mainstream (i.E. Linux) platform. Honestly: It took our team [1] month to create a working GCC/Ada for MinGW = and=20 it is still not repeatable (as in: change version number start script and=20 done). Making GMP and MPFR a prerequisite is a mistake! The GMP team with there ne= ed=20 for speed made creating GMP a pain in the arse. See my other post on this=20 thread. I created GMP but the resulting lib is worthless. Unproven best gue= ss=20 why: a 64 bit lib where a 32 bit lib is needed. And expect an outcry son. Why? Well have a look at my build script: if test -e "%{Prefix}/lib/libgmp.so" && test -e "%{Prefix}/lib/libmpfr.so" ; then Enables=3D"--enable-gmp --enable-mpfr" Languages=3D"${Languages},fortran"; fi; And another thing just struck me: We from the Ada community use cross=20 compilers for embedded targets a lot. Targets which might not even have an= =20 operating system. How is this supposed to work in future? Or not quite a drastic: Cross compiling on Windows for VMS. Do GMP and MPFR= =20 cross compile for VMS. Do they compile for VMS at all. Or for Symbian to na= me=20 a new and hip OS for contrast. You are going to loose many mon mainstream or cross compile platforms that= =20 way - they will stay with 4.2.x which will be at least "createable" for the= re=20 needs. And all this all for some multi precision stuff which most people=20 won't need. I at at least know more GCC users using exotic targets then MP= =20 math. Martin [1] http://gnuada.sf.net --=20 Martin Krischik mailto://krischik@users.sourceforge.net --nextPart1424836.qidnleLqgk 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) iD8DBQBHWk+hijwKaHyem9cRAgLkAKDvxppH8CrBZvNQlGKBO18+jWrFAgCgtCjR YFQymBUKbtlXdkUiRGQ5YmY= =VY6V -----END PGP SIGNATURE----- --nextPart1424836.qidnleLqgk--