[CMake] Strange options for Sun Studio compiler
Brad King
brad.king at kitware.com
Wed Oct 25 11:04:04 EDT 2006
Doug Henry wrote:
> 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.
Please include this in your Linux-CC.cmake that you post to the feature
request I mentioned in the other response. Since no one has used this
compiler before I don't mind including the option until someone
complains their version doesn't have it.
Thanks,
-Brad
More information about the CMake
mailing list