[llvm-commits] CVS: llvm/docs/FAQ.html

Misha Brukman brukman at cs.uiuc.edu
Thu Sep 9 09:36:57 PDT 2004

Changes in directory llvm/docs:

FAQ.html updated: 1.23 -> 1.24
Log message:

If updating from CVS gives error "No rule to make target", it's faster to just
delete .d files than to rebuild from scratch.

Diffs of the changes:  (+34 -1)

Index: llvm/docs/FAQ.html
diff -u llvm/docs/FAQ.html:1.23 llvm/docs/FAQ.html:1.24
--- llvm/docs/FAQ.html:1.23	Tue Jun  1 13:51:03 2004
+++ llvm/docs/FAQ.html	Thu Sep  9 11:36:47 2004
@@ -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
+  <li>After CVS update, rebuilding gives the error "No rule to make
+  target".</li>
   <li><a href="#cfe">Using the GCC Front End</a>
@@ -373,6 +375,37 @@
+<div class="question">
+<p>After CVS update, rebuilding gives the error "No rule to make target".</p>
+<div class="answer">
+<p>If the error is of the form:</p>
+<div class="doc_code">
+gmake[2]: *** No rule to make target `/path/to/somefile', needed by
+<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">
+% rm -f `find . -name \*\.d` 
+% gmake 
+<p>In other cases, it may be necessary to run <tt>make clean</tt> before
 <!-- *********************************************************************** -->
 <div class="doc_section">
   <a name="cfe">Using the GCC Front End</a>
@@ -526,7 +559,7 @@
   src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"></a>
   <a href="http://llvm.cs.uiuc.edu">LLVM Compiler Infrastructure</a><br>
-  Last modified: $Date: 2004/06/01 18:51:03 $
+  Last modified: $Date: 2004/09/09 16:36:47 $

More information about the llvm-commits mailing list