[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] Problems selecting compiler in Solaris
From:       "William A. Hoffman" <billlist () nycap ! rr ! com>
Date:       2006-10-10 12:56:11
Message-ID: 6.2.3.4.2.20061010085526.0c45cdb0 () pop ! nycap ! rr ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic