Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134858 - Add GCC_PREFERNCE to /etc/make.conf
Summary: Add GCC_PREFERNCE to /etc/make.conf
Status: VERIFIED DUPLICATE of bug 134856
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-29 19:58 UTC by Hiel Van Campen
Modified: 2006-05-30 01:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hiel Van Campen 2006-05-29 19:58:14 UTC
If a gcc prefernce varible could be added to /etc/make,conf. It could be used to specify behavior of gcc-config. EX:1 highest >4.1.1 always over any versions of 3.4.6
2 current > I always want my current version, I'll change when I want to)
3 hardened, hardenednopie, hardenednopiessp, hardenednossp.
 
Actually it could be a 2 part variable GCC_PREFERNCE="higest-hardened" which in my case would be plain gcc-4.1.1 since there is no hardened options. If it was "hardened-highest" it would mean highest gcc with a hardened profile. The order of the flags or just a single flag such as "hardened"  could indicate over all prefernce. 

Right now portage has a sneaky way of of OCCASSIONLY updating a lower sloted version of gcc. I have never been able to duplicate it and it could a combination of portage sees my guard is down and gcc-config is in a last emerged is current mode. Any way a  GCC_PREFERNCE would take some of the heat off you as to,what is the users prefernce ? In a script I maintain I chose to allways select the highest version of gcc. That way those who care know whats going to happen when gcc is updated.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-30 01:12:11 UTC

*** This bug has been marked as a duplicate of 134856 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-05-30 01:12:25 UTC
.