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

List:       llvm-dev
Subject:    Re: [LLVMdev] clean CMake build failing (Mac OS X 10.8)
From:       Óscar_Fuentes <ofv () wanadoo ! es>
Date:       2012-07-31 20:57:01
Message-ID: 87vch3k5sy.fsf () wanadoo ! es
[Download RAW message or body]

Dimitry Andric <dimitry@andric.com> writes:

> This is a problem in CMake; for a C compiler, it always picks a 'gcc'
> executable in the PATH over a 'cc' executable.  See the file
> /opt/local/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake, where
> it has:
>
>     [...]
>     SET(CMAKE_C_COMPILER_LIST ${_CMAKE_TOOLCHAIN_PREFIX}gcc ${_CMAKE_TOOLCHAIN_PREFIX}cc cl bcc xlc)
>
> Maybe this was done, because some systems used to have a bad default cc?
> Like Solaris? :)  I don't think that reasoning is really valid anymore,
> these days, though.

I passed your remark to the CMake developers and they swiftly fixed the
issue:

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=27b74445

CMake version 2.8.9 already is in final RC stage, so the change will
appear on version 2.8.10.

Thanks.

[snip]

_______________________________________________
LLVM Developers mailing list
LLVMdev@cs.uiuc.edu         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
[prev in list] [next in list] [prev in thread] [next in thread] 

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