public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Donnie Berkholz <spyderous@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] ifc USE flag, fortran support and some general	notes about multi-compiler support
Date: Wed, 25 Aug 2004 17:59:30 -0500	[thread overview]
Message-ID: <1093474769.31933.2.camel@localhost> (raw)
In-Reply-To: <412D03F6.4050604@ifm.liu.se>

[-- Attachment #1: Type: text/plain, Size: 1603 bytes --]

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:
> > 
> >>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.
> > 
> > 
> > This doesn't make any sense. USE flags shouldn't be sticking their heads
> > in at all. The patches should check what CC/etc. are set to.
> 
> 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 
> users want to support alternative java machines, not system default for 
> their ebuilds) which tell that you want to for something to be compiled 
> with alternative set of compiler and compiler flags, differ from system 
> default. It just flags that provide extra-functionality. OK, probably it 
> can be done in different way, here I agree. But currently it looks with 
> /etc/portage/package.use very simple and comfortable and coming into 
> 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.
-- 
Donnie Berkholz
Gentoo Linux

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-08-25 23:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-25 20:06 [gentoo-dev] ifc USE flag, fortran support and some general notes about multi-compiler support Anton Starikov
2004-08-25 20:25 ` Donnie Berkholz
2004-08-25 20:28   ` Donnie Berkholz
2004-08-25 21:26     ` Anton Starikov
2004-08-25 22:59       ` Donnie Berkholz [this message]
2004-08-26  0:31         ` Anton Starikov
2004-08-26  0:47         ` Anton Starikov
2004-08-25 21:12   ` Anton Starikov
2004-08-25 23:46 ` Olivier Fisette
2004-08-26  0:37   ` Anton Starikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1093474769.31933.2.camel@localhost \
    --to=spyderous@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox