How to access include files that come with Developer Toolset 2?

Solution In Progress - Updated -

Issue

what's the supported way to access the c++ headerfiles located at a version extended path, e.g.

/opt/rh/devtoolset-2/root/usr/include/c++/4.8.0/

Can we make use of the env variable:
PCP_DIR=/opt/rh/devtoolset-2/root
which is set by
“scl enable devtoolset-2 sh” ?

Environment

  • Red Hat Developer Toolset 2.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.