[CMake] Problems selecting compiler in Solaris

Brad King brad.king at kitware.com
Tue Oct 10 09:02:38 EDT 2006


Toni Cebrian wrote:
>    I have a Sparc machine with Solaris 8 installed. I have locally
> installed GCC (/usr/local/bin) and mounted with NFS a disk with the
> compiler tools of Sun (/opt/studio11/SUNWspro/bin). The problem I have
> is that when I run ccmake I try to select the compiler of Sun
> (/opt/studio11/SUNWspro/bin/CC for the CMAKE_CXX_COMPILER) but when I
> press the 'c' to configure it resets the value and puts the GNU compiler
> again (/usr/local/bin/c++). I also tried to set environmental variables
> for CXX and CMAKE_CXX_COMPILER without success.
>   The Sun compiler works ok, no missing library or dependency, so I ask
> ¿is there any problem for using the NFS mount? ¿is supported that
> compiler? ¿What I'm doing wrong?

http://www.cmake.org/Wiki/CMake_FAQ#I_change_CMAKE_C_COMPILER_in_the_GUI_but_it_changes_back_on_the_next_configure_step._Why.3F

-Brad


More information about the CMake mailing list