[CMake] Problems selecting compiler in Solaris

Toni Cebrian ancechu at hotmail.com
Tue Oct 10 05:43:00 EDT 2006


Hello,

    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?

Thanks in advance.

_________________________________________________________________
Acepta el reto MSN Premium: Correos más divertidos con fotos y textos 
increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis. 
http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_correosmasdivertidos



More information about the CMake mailing list