[CMake] Strange options for Sun Studio compiler

Doug Henry develop at brilligent.com
Tue Oct 24 08:55:34 EDT 2006


I noticed that the default options for build mode may be a bit strange for
sun compilers.  The release mode uses -xO2 and the minimum size mode uses
-xO3 (higher optimization level?).  There seems to be an option -xspace
which reads:

-xspace               Do not do optimizations that increase code size

However, I am not familiar with older versions of the sun compilers to know
if this option is available.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20061024/eea8feb2/attachment.htm


More information about the CMake mailing list