Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
16 Views

Choosing C++11 libraries.

We have multiple installations of GNU and Intel compilers. The version of the libstdc++ that comes on the system does not have support for std::chrono::steady_clock. We are able to use -gxx-name to link to a new g++ version and it works correctly. However, this is not suitable option for our users. Aside from the PATH environment variable, is there some way we can set what g++ version to use for libstdc++?

0 Kudos
3 Replies
Highlighted
Valued Contributor II
16 Views

>>... is there some way we can set what g++ version to use for libstdc++? There is -V option and here is its description: ... -V [version] - Run gcc version number , if installed ...
0 Kudos
Highlighted
Valued Contributor II
16 Views

However, it is Not clear what versions of compilers are installed and I just discovered that different versions could have differences, that is a completely different actions for GCC compilers, when -V option is used (!).
0 Kudos
Highlighted
Beginner
16 Views

I should have been more clear in my original post: is there some way I can make icc always use a particular version of libstdc++ for all users?

0 Kudos