[LLVMdev] building gcc with clang/llvm
brooks at freebsd.org
Fri Sep 21 17:07:51 PDT 2012
On Fri, Sep 21, 2012 at 04:34:35PM -0700, reed kotler wrote:
> Has anybody tried building gcc using clang/llvm as the first stage compiler?
On FreeBSD we build gcc 4.2 with clang when clang is the system
compiler. The build process differs from the normal gcc build process
so the final gcc is built directly with clang. We do compile gcc
without -Werror because clang generates a lot of warnings (presumably a
modern gcc would as well).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 188 bytes
Desc: not available
More information about the llvm-dev