On Sat, Jun 01, 2013 at 09:26:04PM -0700, Dave Johansen wrote:
I'm writing up a spec file that depends on devtoolset and then sets CXX to /opt/centos/devtoolset-1.1/root/usr/bin/g++ so that it can use the compiler installed by that package. I was just wonder a few things:
- Is that the "final" path? Or will it change to match the path in
RHEL once this development build of it moves to a permanent location?
/opt/rh is currently a link to /opt/centos SL is using /opt/rh
- If the answer to #1 is yes, is there a way to distinguish between
RHEL and CentOS in the spec file so it can use the appropriate path for each of them?
don't bother :)
/opt/rh should work all the time.
BTW, devtools-2 beta has been released but only to Red Hat customers, not yet in the public area.
Cheers,
Tru