[LLVMdev] building gcc with clang/llvm

Diego Novillo dnovillo at google.com
Fri Sep 28 19:08:08 PDT 2012


On 2012-09-21 16:34 , reed kotler wrote:
> Has anybody tried building gcc using clang/llvm as the first stage
> compiler?

Works fine with

Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 
3.0)
Target: x86_64-pc-linux-gnu
Thread model: posix

Build with:

$ CXX=clang++ CC=clang ../src/configure
$ make -j


Diego.



More information about the llvm-dev mailing list