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 ) id 1JtbEe-0002rX-IZ for garchives@archives.gentoo.org; Wed, 07 May 2008 04:26:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54767E0329; Wed, 7 May 2008 04:26:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0FC25E0329 for ; Wed, 7 May 2008 04:26:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id F09FF647FA; Wed, 7 May 2008 04:26:29 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] GCC 4.3 fails on mpfr Date: Wed, 7 May 2008 00:26:28 -0400 User-Agent: KMail/1.9.7 Cc: Ned Ludd , Christopher Friedt References: <78DE440C4156CC45A35FDBCBF9B830D702DD44D9@sohm.kpit.com> <200805061724.52449.vapier@gentoo.org> <1210114089.12707.6.camel@hangover> In-Reply-To: <1210114089.12707.6.camel@hangover> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1606834.eGDOpvczmR"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200805070026.29315.vapier@gentoo.org> X-Archives-Salt: 3e81803e-77e6-43d1-bd16-ec6ae8bf6da9 X-Archives-Hash: e7a78718fed52426efadf42072aa80a4 --nextPart1606834.eGDOpvczmR Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 06 May 2008, Ned Ludd wrote: > On Tue, 2008-05-06 at 17:24 -0400, Mike Frysinger wrote: > > On Tuesday 06 May 2008, Christopher Friedt wrote: > > > This is a 'chicken / egg' problem. In order to build a cross compiler > > > for arch X you need mpfr compiled for arch X. In order to build mpfr > > > for arch X you need a toolchain for arch X. > > > > > > Try building the cross-compiler without mpfr first, then build libmpf= r, > > > and then rebuild the cross compiler. > > > > you cant build gcc-4.3 without gmp and mpfr. they're hard requirements= =2E=20 > > but they're requirements that the host system has it, not that they are > > cross-compiled for the target. > > this might pose a problem at Gentoo as I don't think mpfr can even be > cross compiled in the first place. I might be wrong but I seem to recall > fighting with it in the last week using ( arm-softfloat-linux-uclibc || > arm*-softloat-linux-gnueabi). i said they are host libraries, not target libraries. gcc itself uses them= in=20 order to even execute in the first place starting with gcc-4.3. what Christopher is probably referring to is gfortran support ... it requir= es=20 mpfr/gmp to be cross-compiled. but to address your question, they both do cross-compile fine. i just did = it=20 two days ago for mingw32 target so that i could build up a gfortran=20 cross-compiler. =2Dmike --nextPart1606834.eGDOpvczmR Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iQIVAwUASCEvdUFjO5/oN/WBAQJzERAAm+juupM+NzNUbhkuPnDvTAdh7H8X/F3K NNu1qfqi/Loyptxn5lzGMHpLjT7sQrUy8WI/a5CMOEQ6rZce2+JCqopvahVU86p+ Ftul/APXoylfGk9N2P2VBhL848qfrM1X4WLj/3Cy7nEsWZQyZm65s7J2oaJNDsst /IcKxEzmRjI4ONOGtHucaw9bhHXTFe1Drrtb71ZEyBUiIecOQiz38qFomTiinAeE fjZL364ShV8LQYqk17cn3J32HwhGeRoucCec+iHoqaYypFApGy6CxOMoDHpumhhz GsGWGMYxDSGU/kTkXILhUsnGoxTqNVhq+l0XFSt/i2uG/2I6zOUQGOc0tgAv8dJ2 H/xKUaVYD5nzo39GJCy7hhVtqoE5MVzIBqBej2xWxkQUqO/0ngY5mWLUxVAPGLyp RzoeUXCc5xWS1bSJ5v21gaSkbzPBSQhWMflbuMifYjZ3UxFj3vHrHLy9eHb6KUuG SmmUz8n1XNBClJT6Ax7WYO74blehRK2MNNnX4G1rAlLc2Z16ESmRlpIgbrje+417 CD1E1ZbHQoGq3MXylFyXqmBfRtRGQR3ciNwYy+ZfBaYndkYlyLkPOYb+hd7+8t3V Szh/AwCWv3wSrQx0Tq2gtsEScqla/lhob2d/tCddQJS72oJIt693Ukbd/QAEfQiD KFX5+kD+tdc= =9bLp -----END PGP SIGNATURE----- --nextPart1606834.eGDOpvczmR-- -- gentoo-embedded@lists.gentoo.org mailing list