Konstantin Tokarev
2013-Jan-06 11:41 UTC
[LLVMdev] Building llvm from source with clang instead of gcc
> 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