diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-09-09 16:36:47 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-09-09 16:36:47 +0000 |
commit | 1739aec9e174e4a4f3a162ccbe4137d74ebc1d0d (patch) | |
tree | c3376cb65127b9d05d3ca72d38082a5a1a4cfce7 | |
parent | d54fe679c96ea5330472ee28e023eff4bfabe005 (diff) | |
download | external_llvm-1739aec9e174e4a4f3a162ccbe4137d74ebc1d0d.zip external_llvm-1739aec9e174e4a4f3a162ccbe4137d74ebc1d0d.tar.gz external_llvm-1739aec9e174e4a4f3a162ccbe4137d74ebc1d0d.tar.bz2 |
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
-rw-r--r-- | docs/FAQ.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/FAQ.html b/docs/FAQ.html index 3c460de..bf4a47d 100644 --- a/docs/FAQ.html +++ b/docs/FAQ.html @@ -51,6 +51,8 @@ <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 wrong?</li> + <li>After CVS update, rebuilding gives the error "No rule to make + target".</li> </ol></li> <li><a href="#cfe">Using the GCC Front End</a> @@ -373,6 +375,37 @@ to the <tt>LLVMGCCDIR/bytecode-libs</tt> subdirectory. </p> </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"> <a name="cfe">Using the GCC Front End</a> |