mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
If updating from CVS gives error "No rule to make target", it's faster to just
delete .d files than to rebuild from scratch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16258 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -51,6 +51,8 @@
|
|||||||
<li>Compiling LLVM with GCC 3.3.2 fails, what should I do?</li>
|
<li>Compiling LLVM with GCC 3.3.2 fails, what should I do?</li>
|
||||||
<li>When I use the test suite, all of the C Backend tests fail. What is
|
<li>When I use the test suite, all of the C Backend tests fail. What is
|
||||||
wrong?</li>
|
wrong?</li>
|
||||||
|
<li>After CVS update, rebuilding gives the error "No rule to make
|
||||||
|
target".</li>
|
||||||
</ol></li>
|
</ol></li>
|
||||||
|
|
||||||
<li><a href="#cfe">Using the GCC Front End</a>
|
<li><a href="#cfe">Using the GCC Front End</a>
|
||||||
@@ -373,6 +375,37 @@ to the <tt>LLVMGCCDIR/bytecode-libs</tt> subdirectory.
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="question">
|
||||||
|
<p>After CVS update, rebuilding gives the error "No rule to make target".</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="answer">
|
||||||
|
<p>If the error is of the form:</p>
|
||||||
|
|
||||||
|
<div class="doc_code">
|
||||||
|
<tt>
|
||||||
|
gmake[2]: *** No rule to make target `/path/to/somefile', needed by
|
||||||
|
`/path/to/another/file.d'.<br>
|
||||||
|
Stop.
|
||||||
|
</tt>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p>This may occur anytime files are moved within the CVS repository or removed
|
||||||
|
entirely. In this case, the best solution is to erase all <tt>.d</tt> files,
|
||||||
|
which list dependencies for source files, and rebuild:</p>
|
||||||
|
|
||||||
|
<div class="doc_code">
|
||||||
|
<pre>
|
||||||
|
% cd $LLVM_OBJ_DIR
|
||||||
|
% rm -f `find . -name \*\.d`
|
||||||
|
% gmake
|
||||||
|
</pre>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p>In other cases, it may be necessary to run <tt>make clean</tt> before
|
||||||
|
rebuilding.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- *********************************************************************** -->
|
<!-- *********************************************************************** -->
|
||||||
<div class="doc_section">
|
<div class="doc_section">
|
||||||
<a name="cfe">Using the GCC Front End</a>
|
<a name="cfe">Using the GCC Front End</a>
|
||||||
|
Reference in New Issue
Block a user