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 | 4657235e361a45e4b90850fc558f812182d0a866 (patch) | |
| tree | ff0a080d1ec2c37689d80aea0209418526cc6b0a | |
| parent | 6e8f860fee7ca6306e9b14261b248e4b8b4c9ccc (diff) | |
| download | bcm5719-llvm-4657235e361a45e4b90850fc558f812182d0a866.tar.gz bcm5719-llvm-4657235e361a45e4b90850fc558f812182d0a866.zip | |
If updating from CVS gives error "No rule to make target", it's faster to just
delete .d files than to rebuild from scratch.
llvm-svn: 16258
| -rw-r--r-- | llvm/docs/FAQ.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/llvm/docs/FAQ.html b/llvm/docs/FAQ.html index 3c460de89d9..bf4a47d2106 100644 --- a/llvm/docs/FAQ.html +++ b/llvm/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> |

