[LLVMdev] Building llvm from source with clang instead of gcc

Krzysztof Parzyszek kparzysz at codeaurora.org
Sat Jan 5 08:32:44 PST 2013

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.


Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation

More information about the llvm-dev mailing list