Compiler options for Linux
Hello!I have this doubt. In the files "C++ user guide" and "C Users guide" give me options, but it looks are only for Solaris platafroms. Does anyone knows if this moptions also work with Linux?
# 1
Most of options are the same both on Linux and Solaris; there might be some limitations to the functionality on Linux, so some of options that work on Solaris might not work on Linux, but they still remain the same, though.
# 2
Please, keep in mind that User Guides currently available are for SunStudio 11, which does not have Linux compilers at all.
Thus it is not written with Linux in mind.
But Maxim got it right - most of the options are the same. We also started supporting some of gcc options, like -fPIC or -shared.
And yep, some of the functionality (minor bits, like gprof support ) is missing on Linux, you'll get a warning trying to use it.
regards,
__Fedor.
SFVa at 2007-7-10 10:36:47 >
