I was looking through my Gentoo system today, and I realized that these different gcc and binutils slots, and gcc-config and binutils-config were really unnecessary for me. I'm only using 1 gcc and 1 binutils. It's kind of confusing how all of the files have their own directories, etc. I'm proposing a noslot flag for gcc and binutils that will have them install in their default locations, rather than in versioned and CHOST'ed directories. Reproducible: Always Steps to Reproduce:
Slotting is an integral part of Gentoo and can't be disabled via some use flag.
Why not? use noslot && SLOT="0" || SLOT="Whatever it is right now..."
if you only want one gcc and one binutils, just unmerge the other ones. this works perfectly fine already. gcc-config is still valid even with a single gcc, as it enables selection between the normal/hardened-gcc modes. btw your proposed code example there breaks portage's deptree cache and calculations.