[LLVMdev] Building llvm from source with clang instead of gcc
Konstantin Tokarev
annulen at yandex.ru
Sun Jan 6 03:41:23 PST 2013
> On 01/05/2013 11:32 AM, Krzysztof Parzyszek wrote:
>
>> On 1/5/2013 7:10 AM, Edward Diener wrote:
>>
>>> Is it possible to build llvm with a previous version of clang installed
>>> as a binary ? If so, how do I get llvm/configure to use the binary
>>> version of clang rather than gcc to build the latest version of llvm ?
>>
>> Set environment variables CC and CXX to point to the clang/clang++
>> binaries before running configure.
>
> Do I give the full path to the executable, or just the executable name
> if it is already in the PATH, for those environment variables ?
CC=clang CXX=clang++ ./configure ...
--
Regards,
Konstantin
More information about the llvm-dev
mailing list