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.

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to