mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 04:31:08 +00:00
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
This commit is contained in:
parent
290235f898
commit
f159402cbd
@ -74,6 +74,9 @@
|
|||||||
|
|
||||||
<li><a href="#llvmc">The <tt>llvmc</tt> program gives me errors/doesn't
|
<li><a href="#llvmc">The <tt>llvmc</tt> program gives me errors/doesn't
|
||||||
work.</a></li>
|
work.</a></li>
|
||||||
|
|
||||||
|
<li><a href="#srcdir-objdir">When I compile LLVM-GCC with srcdir == objdir,
|
||||||
|
it fails. Why?</a></li>
|
||||||
</ol></li>
|
</ol></li>
|
||||||
|
|
||||||
<li><a href="#felangs">Source Languages</a>
|
<li><a href="#felangs">Source Languages</a>
|
||||||
@ -412,8 +415,9 @@ Stop.
|
|||||||
rebuilding.</p>
|
rebuilding.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="question"><p><a name="llvmc">
|
<div class="question">
|
||||||
<p>The <tt>llvmc</tt> program gives me errors/doesn't work.</a></p>
|
<p><a name="llvmc">The <tt>llvmc</tt> program gives me errors/doesn't
|
||||||
|
work.</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="answer">
|
<div class="answer">
|
||||||
@ -421,6 +425,25 @@ Stop.
|
|||||||
using <tt>llvm-gcc</tt> instead.</p>
|
using <tt>llvm-gcc</tt> instead.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="question">
|
||||||
|
<p><a href="srcdir-objdir">When I compile LLVM-GCC with srcdir == objdir, it
|
||||||
|
fails. Why?</a></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="answer">
|
||||||
|
<p>The <tt>GNUmakefile</tt> in the top-level directory of LLVM-GCC is a special
|
||||||
|
<tt>Makefile</tt> used by Apple to invoke the <tt>build_gcc</tt> 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 <tt>GNUmakefile</tt> instead of <tt>Makefile</tt>. Because the
|
||||||
|
environment isn't set up correctly to do this, the build fails.</p>
|
||||||
|
|
||||||
|
<p>People not building LLVM-GCC the "Apple way" need to build LLVM-GCC with
|
||||||
|
srcdir != objdir, or simply remove the GNUmakefile entirely.</p>
|
||||||
|
|
||||||
|
<p>We regret the inconvenience.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- *********************************************************************** -->
|
<!-- *********************************************************************** -->
|
||||||
<div class="doc_section"><a name="felangs">Source Languages</a></div>
|
<div class="doc_section"><a name="felangs">Source Languages</a></div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user