[LLVMdev] switching to llvm-g++ as the host compiler

Sandeep Patel deeppatel1987 at gmail.com
Mon Jul 6 16:42:30 PDT 2009


On Mon, Jul 6, 2009 at 3:47 PM, Stuart Hastings<stuart at apple.com> wrote:
> IANACE (I Am Not A Configury Expert :-), but I've been asked to
> reconfigure LLVM and LLVM-GCC to build with LLVM-GCC (perhaps more
> accurately, LLVM-G++).
>
> The patches to do this are short.  In the LLVM tree, this suffices; it
> looks for LLVM-GCC first, and if that fails, falls back to GCC:

Would it make sense to have configure bootstrap the current sources
instead of using whatever llvm-gcc is installed?

> Of course, I'm omitting the diffs resulting from the re-auto-
> confiscation of both trees.  I was obliged to tweak all the version
> checks in the LLVM file AutoRegen.sh in order to get it to run :-),
> but no errors turned up after my hacking.  (Should AutoRegen.sh be
> updated too?)

I was just asking about this in IRC. I couldn't grok why AutoRegen.sh
wouldn't work on a stock Leopard install. Fixing this would be most
welcome.

deep




More information about the llvm-dev mailing list