public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [RFC] some global useflags
Date: Wed, 15 Oct 2008 14:47:06 -0700	[thread overview]
Message-ID: <20081015214706.GZ23490@curie-int.orbis-terrarum.net> (raw)
In-Reply-To: <20081015174338.5ee92974@googlemail.com>

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

On Wed, Oct 15, 2008 at 05:43:38PM +0100, Ciaran McCreesh wrote:
> Utterly illegal, needs to die.
Why? I don't agree that it needs to be the global useflags, but I don't
consider it illegal either.

It's defined by toolchain.eclass and toolchain-binutils.eclass, and
deliberately in a very careful manner, such that USE=-multislot and
USE=multislot do NOT conflict. There are no other uses in the tree.

For binutils, it simply enables slotting entirely.
For gcc, it moves the slot down from the major version to the minor version.

In both cases, which one gets called is controlled by the relevant *-config
utility. It's pretty handy when you are trying to figure out a gcc or binutils
bug in the minor versions.

Definitions:
toolchain-binutils:
if use multislot ; then
    SLOT="${CTARGET}-${BVER}"
elif is_cross ; then
    SLOT="${CTARGET}"
else
    SLOT="0"
fi

toolchain.eclass:
if use multislot ; then 
    SLOT="${CTARGET}-${GCC_CONFIG_VER}"
elif is_crosscompile; then 
    SLOT="${CTARGET}-${GCC_BRANCH_VER}"
else 
    SLOT="${GCC_BRANCH_VER}"
fi   

Packages where used:
sys-devel/binutils
sys-devel/binutils-hppa64
sys-devel/binutils-nios2
sys-devel/gcc
sys-devel/gcc-nios2
sys-devel/kgcc64

-- 
Robin Hugh Johnson
Gentoo Linux Developer & Infra Guy
E-Mail     : robbat2@gentoo.org
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

[-- Attachment #2: Type: application/pgp-signature, Size: 329 bytes --]

  parent reply	other threads:[~2008-10-15 23:09 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-15 16:36 [gentoo-dev] [RFC] some global useflags Markus Meier
2008-10-15 16:43 ` Ciaran McCreesh
2008-10-15 19:53   ` [gentoo-dev] " Steve Long
2008-10-15 20:16     ` Ciaran McCreesh
2008-10-16 21:06       ` [gentoo-dev] " Steve Long
2008-10-16 21:26         ` Ciaran McCreesh
2008-10-18 12:22           ` [gentoo-dev] " Steve Long
2008-10-19  5:29             ` [gentoo-dev] " Ryan Hill
2008-10-19 11:42               ` [gentoo-dev] [project] " Steve Long
2008-10-20  6:19                 ` [gentoo-dev] Re: [gentoo-project] " Alec Warner
2008-10-22 10:55                 ` [gentoo-dev] " Petteri Räty
2008-10-15 21:47   ` Robin H. Johnson [this message]
2008-10-15 23:19     ` [gentoo-dev] " Ciaran McCreesh
2008-10-16  0:18       ` Marius Mauch
2008-10-19  5:36 ` [gentoo-dev] " Ryan Hill

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=20081015214706.GZ23490@curie-int.orbis-terrarum.net \
    --to=robbat2@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