From f159402cbd7504297ad91efdabce86ce6a443115 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 7 Apr 2009 18:51:13 +0000 Subject: Offer an explanation of why building LLVM-GCC with objdir == srcdir doesn't work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68530 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/FAQ.html | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) (limited to 'docs/FAQ.html') diff --git a/docs/FAQ.html b/docs/FAQ.html index 3be0598..83719b7 100644 --- a/docs/FAQ.html +++ b/docs/FAQ.html @@ -74,6 +74,9 @@
  • The llvmc program gives me errors/doesn't work.
  • + +
  • When I compile LLVM-GCC with srcdir == objdir, + it fails. Why?
  • Source Languages @@ -412,8 +415,9 @@ Stop. rebuilding.

    -

    -

    The llvmc program gives me errors/doesn't work.

    +
    @@ -421,6 +425,25 @@ Stop. using llvm-gcc instead.

    + + +
    +

    The GNUmakefile in the top-level directory of LLVM-GCC is a special + Makefile used by Apple to invoke the build_gcc script after + setting up a special environment. This has the unforunate side-effect that + trying to build LLVM-GCC with srcdir == objdir in a "non-Apple way" invokes + the GNUmakefile instead of Makefile. Because the + environment isn't set up correctly to do this, the build fails.

    + +

    People not building LLVM-GCC the "Apple way" need to build LLVM-GCC with + srcdir != objdir, or simply remove the GNUmakefile entirely.

    + +

    We regret the inconvenience.

    +
    + -- cgit v1.1