From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4120 invoked from network); 25 Aug 2004 23:01:48 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 25 Aug 2004 23:01:48 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.34) id 1C06m3-0007Uo-Qc for arch-gentoo-dev@lists.gentoo.org; Wed, 25 Aug 2004 23:01:47 +0000 Received: (qmail 9905 invoked by uid 89); 25 Aug 2004 23:01:47 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 18738 invoked from network); 25 Aug 2004 23:01:47 +0000 From: Donnie Berkholz To: gentoo-dev@lists.gentoo.org In-Reply-To: <412D03F6.4050604@ifm.liu.se> References: <412CF14E.7040106@ifm.liu.se> <1093465509.25119.4.camel@localhost> <1093465700.25119.6.camel@localhost> <412D03F6.4050604@ifm.liu.se> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-iTwo9hocSFR/rd/IZCL0" Message-Id: <1093474769.31933.2.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 25 Aug 2004 17:59:30 -0500 X-Scanned-By: MIMEDefang 2.43 X-Apparently-From: ERR_USER_NULL X-AOL-IP: 64.12.118.18 Subject: Re: [gentoo-dev] ifc USE flag, fortran support and some general notes about multi-compiler support X-Archives-Salt: fd0573fe-e0bb-48ad-8442-0327762251e3 X-Archives-Hash: cc076bee9c19419a0ac9abd54d45a10e --=-iTwo9hocSFR/rd/IZCL0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2004-08-25 at 16:26, Anton Starikov wrote: > Donnie Berkholz wrote: > > On Wed, 2004-08-25 at 15:25, Donnie Berkholz wrote: > >=20 > >>Nah, USE isn't the right place for it. Ebuilds should respect the > >>environment variables selecting compilers, such as CC, CXX, FC and so > >>forth. The USE flags should be for other things, e.g. patches that are > >>required for a specific compiler to work. > >=20 > >=20 > > This doesn't make any sense. USE flags shouldn't be sticking their head= s > > in at all. The patches should check what CC/etc. are set to. >=20 > About USE flags, it's completely different idea from IFC or ICC flags. > Just couple flags only (could be more, for example if some devs and some=20 > users want to support alternative java machines, not system default for=20 > their ebuilds) which tell that you want to for something to be compiled=20 > with alternative set of compiler and compiler flags, differ from system=20 > default. It just flags that provide extra-functionality. OK, probably it=20 > can be done in different way, here I agree. But currently it looks with=20 > /etc/portage/package.use very simple and comfortable and coming into=20 > gentoo really very smoothly. USE flags are for features _within_ packages, not for things you do _to_ the package. Choosing a toolchain shouldn't be done with USE flags. That's what gcc-config is for. You seem to be rejecting it out of hand rather than considering an expansion of its functionality. For example, it could read a file to switch compilers in a package-dependent way. --=20 Donnie Berkholz Gentoo Linux --=-iTwo9hocSFR/rd/IZCL0 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBBLRnQXVaO67S1rtsRAsDPAJ9VQmvkhZEC/a43Shgb4aP/Wh3epgCfRl9l QkS+0ZW3sl9xe9i2oFvA0X0= =bx2e -----END PGP SIGNATURE----- --=-iTwo9hocSFR/rd/IZCL0--