- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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++?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>... 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
...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 (!).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page