[LLVMdev] advice on default options for building LLVM-GCC on Ubuntu Linux

Tanya M. Lattner
Tue, 07 Apr 2009 18:47:50 -0000

>>>  From what I understand, FSF GCC doesn't recommend building
with
>>> srcdir == objdir. Not that this necessarily means much to us, but
>>> should indicate that it's not entirely out of the ordinary that
we
>>> require srcdir != objdir for LLVM-GCC. :-)
>>
>> Newcomers to llvm-gcc regularly try to build with srcdir == objdir.
>> Some of them come on irc and ask about why it fails, but probably
>> most of them just give up on llvm-gcc.
>>
> I understand. Believe me, I'm not a big fan of this method of building
> llvm-gcc either. But I'm not a Makefile guru, so I don't know how
to
> make the two systems of building llvm-gcc compatible. Is there a FAQ
> entry on this? If not, I'll add one.

This is stated in the README.LLVM and people rarely follow the directions
in there too. You can't force people to read documentation.

Its worth a FAQ entry and also a FAQ entry about following the
instructions in README.LLVM exactly.

-Tanya