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 : [EMAIL PROTECTED]
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
pgpf0TWTS2gxb.pgp
Description: PGP signature
