Can we replace standard gcc with gcc provided through RHSCL ?

Solution In Progress - Updated -

Issue

  • We installed Red Hat Developer Toolset 2 in order to get access to GCC 4.8.2.
  • The problem is that we need to use the standard /usr/bin/ path for the latest gcc 4.8.2 instead of the 4.4.7.
  • How can we install GCC 4.8.2 to the standard path of /usr/bin/?
  • Is it suggested to create symbolic links or copy the GCC binaries to /usr/bin/, or there is some other way to do that?
  • We need to avoid using the scl command as we run some very large scripts that we use the standard paths /usr/bin/gcc, /usr/include, /usr/lib

Environment

  • Red Hat Enterprise Linux
  • Red Hat Developer Toolset
  • Red Hat Software Collections

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In