[CMake] Problems selecting compiler in Solaris

Toni Cebrian ancechu at hotmail.com
Tue Oct 10 10:23:03 EDT 2006


Thanks. The key was a clean build tree.


>From: Brad King <brad.king at kitware.com>
>To: Toni Cebrian <ancechu at hotmail.com>
>CC: cmake at cmake.org
>Subject: Re: [CMake] Problems selecting compiler in Solaris
>Date: Tue, 10 Oct 2006 09:02:38 -0400
>
>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

_________________________________________________________________
Acepta el reto MSN Premium: Protección para tus hijos en internet. 
Descárgalo y pruébalo 2 meses gratis. 
http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_proteccioninfantil



More information about the CMake mailing list