At 05:43 AM 10/10/2006, Toni Cebrian wrote:
>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?

Set the environment variable CXX before running ccmake, and make sure it is in
a clean build directory and it should work.

-Bill

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to