MantisBT - CMake
View Issue Details
0013505CMakeCMakepublic2012-08-31 11:162013-01-09 14:05
Jaime Frey 
Brad King 
normalminoralways
closedfixed 
AppleMac OS X10.8
CMake 2.8.9 
CMake 2.8.10CMake 2.8.10 
0013505: Different search orders for C and C++ compilers
The search order for C compilers (CMAKE_C_COMPILER_LIST) set in CMakeDetermineCCompiler.cmake has gcc first and cc second.
The search order for C++ compilers (CMAKE_CXX_COMPILER_LIST) set in CMakeDetermineCXXCompiler.cmake has c++ first and g++ second.
On recent versions of Mac OS X, this results in the default compilers being the GNU C compiler and the Clang C++ compiler.
This mixing of compiler suites has caused problems for us when detecting which command-line options are supported.
Can the compiler search orders be made consistent?
No tags attached.
Issue History
2012-08-31 11:16Jaime FreyNew Issue
2012-08-31 11:45Brad KingNote Added: 0030810
2012-08-31 11:45Brad KingAssigned To => Brad King
2012-08-31 11:45Brad KingStatusnew => resolved
2012-08-31 11:45Brad KingResolutionopen => fixed
2012-08-31 11:45Brad KingFixed in Version => CMake 2.8.10
2012-08-31 11:45Brad KingTarget Version => CMake 2.8.10
2013-01-09 14:05Robert MaynardNote Added: 0032084
2013-01-09 14:05Robert MaynardStatusresolved => closed

Notes
(0030810)
Brad King   
2012-08-31 11:45   
This was reported here:

 http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/4379 [^]

and fixed here:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7e58e5bb [^]
(0032084)
Robert Maynard   
2013-01-09 14:05   
Closing resolved issues that have not been updated in more than 4 months.