[CMake] GCC version change problems
Mike Jackson
mike.jackson at imts.us
Thu Nov 30 16:44:30 EST 2006
Delete the CMakeCache.txt file from the build tree, then try ccmake/cmake again
mike
-----Original Message-----
From: cmake-bounces+mike.jackson=imts.us at cmake.org on behalf of Corrie
Sent: Thu 11/30/2006 4:36 PM
To: cmake at cmake.org
Cc:
Subject: [CMake] GCC version change problems
Hi all,
I'm trying to get Cmake to compile some VTK programs with GCC/G++ 4.0
on an iMac G3 running OSX 10.4.8, Xtools 2.4.1 and CMake2.4 patch
4. I've used "sudo gcc_select 4.0" to select my system compiler
preference. However, CMake doesn't seem to allow me to change to GCC
4.0. If I edit the CMAKE_CXX_COMPILER and CMAKE_C_COMPILER's in
cmakecache.txt to g++-4.0 and gcc-4.0, respectively, they revert, in
the file, to GCC 3.3 when CCMake is told to configure. The same
thing happens when I make the change through CCMake. Yet when I run
gcc -v, I'm told "gcc version 4.0.1 (Apple Computer, Inc. build
5367)". Can someone tell me what I can do to fix this? Thanks.
Corrie
_______________________________________________
CMake mailing list
CMake at cmake.org
http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list