I couldn't easily find an answer to my question, so I thought I would ask here: does Solaris Studio on Linux support libstdc++? I see there is some gcc compatibility, but from the documentation it seems the standard library options are the same as on Solaris (-library=Cstd, -library=stlport4, etc.).
If it's not supported directly, has anyone had any luck disabling the compiler standard library options and compiling against libstdc++ directly?
My use case is that I have a large amount of C++ libraries built with g++, and I would like to test compiling an application with Studio without rebuilding the entire stack of libraries. I just want to see if this is at all feasible before I attempt it.
Thanks in advance,
For what its worth, I immediately run into the problem reported on another thread with the gcc atomic builtins:
"/usr/include/c++/4.3.5/ext/atomicity.h", line 51: Error: The function "__sync_fetch_and_add" must have a prototype.
"/usr/include/c++/4.3.5/ext/atomicity.h", line 55: Error: The function "__sync_fetch_and_add" must have a prototype.
2 Error(s) detected.
Linux distributions vary considerably. The officially supported Linux versions are listed in the Release Notes that come with the compiler. Any other Linux versions may have compatibility issues.
See also this thread:
Edited by: Steve_Clamage on Sep 20, 2011 9:36 AM