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

Reid Spencer reid at x10sys.com
Tue Dec 14 16:14:12 PST 2004



Changes in directory llvm/docs:

CFEBuildInstrs.html updated: 1.34 -> 1.35
FAQ.html updated: 1.27 -> 1.28
GettingStarted.html updated: 1.94 -> 1.95
TestingGuide.html updated: 1.22 -> 1.23
---
Log message:

Remove most references to LLVM_LIB_SEARCH_PATH. It now only exists in the
GettingStarted.html document in the environment section and only as an 
optional feature.


---
Diffs of the changes:  (+21 -65)

Index: llvm/docs/CFEBuildInstrs.html
diff -u llvm/docs/CFEBuildInstrs.html:1.34 llvm/docs/CFEBuildInstrs.html:1.35
--- llvm/docs/CFEBuildInstrs.html:1.34	Tue Dec 14 16:07:29 2004
+++ llvm/docs/CFEBuildInstrs.html	Tue Dec 14 18:14:01 2004
@@ -132,8 +132,6 @@
  % cd build
  % ../src/configure --prefix=$CFEINSTALL --disable-threads --disable-nls \
    --disable-shared --enable-languages=c,c++
- % gmake
- % setenv LLVM_LIB_SEARCH_PATH `pwd`/gcc 
  % gmake all; gmake install
 </pre>
 
@@ -143,8 +141,6 @@
  % cd build
  % ../src/configure --prefix=$CFEINSTALL --disable-threads --disable-nls \
    --disable-shared --enable-languages=c,c++ --disable-c-mbchar
- % gmake
- % setenv LLVM_LIB_SEARCH_PATH `pwd`/gcc 
  % gmake all; gmake install
 </pre>
 
@@ -163,8 +159,6 @@
  % ../src/configure --prefix=$CFEINSTALL --disable-threads --disable-nls \
    --disable-shared --enable-languages=c,c++ --host=sparcv9-sun-solaris2.8 \
    --disable-c-mbchar
- % gmake
- % setenv LLVM_LIB_SEARCH_PATH `pwd`/gcc 
  % gmake all; gmake install
 </pre>
 
@@ -233,7 +227,6 @@
  % gmake
  % mkdir $CFEINSTALL/lib
  % gmake -C runtime install-bytecode
- % setenv LLVM_LIB_SEARCH_PATH $CFEINSTALL/lib
 </pre></li>
 
 <li><p>Optionally, build a symbol table for the newly installed runtime 
@@ -332,7 +325,7 @@
 
   Brian Gaeke<br>
   <a href="http://llvm.cs.uiuc.edu">LLVM Compiler Infrastructure</a><br>
-  Last modified: $Date: 2004/12/14 22:07:29 $
+  Last modified: $Date: 2004/12/15 00:14:01 $
 </address>
 
 </body>


Index: llvm/docs/FAQ.html
diff -u llvm/docs/FAQ.html:1.27 llvm/docs/FAQ.html:1.28
--- llvm/docs/FAQ.html:1.27	Tue Dec 14 16:07:29 2004
+++ llvm/docs/FAQ.html	Tue Dec 14 18:14:01 2004
@@ -347,31 +347,6 @@
 </div>
 
 <div class="question">
-<p>
-When I use the test suite, all of the C Backend tests fail.  What is
-wrong?
-</p>
-</div>
-
-<div class="answer">
-<p>
-If you build LLVM and the C Backend tests fail in <tt>llvm/test/Programs</tt>,
-then chances are good that the directory pointed to by the LLVM_LIB_SEARCH_PATH
-environment variable does not contain the libcrtend.a library.
-</p>
-
-<p>
-To fix it, verify that LLVM_LIB_SEARCH_PATH points to the correct directory
-and that libcrtend.a is inside.  For pre-built LLVM GCC front ends, this
-should be the absolute path to
-<tt>cfrontend/<<i>platform</i>>/llvm-gcc/lib</tt>.  If you've
-built your own LLVM GCC front end, then ensure that you've built and installed
-the libraries in <tt>llvm/runtime</tt> and have LLVM_LIB_SEARCH_PATH pointing
-to the <tt>$LLVMGCCDIR/lib</tt> subdirectory.
-</p>
-</div>
-
-<div class="question">
 <p>After CVS update, rebuilding gives the error "No rule to make target".</p>
 </div>
 
@@ -458,11 +433,12 @@
 
 <div class="answer">
 <p>
-In order to find libcrtend.a, you must have the directory in which it lives in
-your LLVM_LIB_SEARCH_PATH environment variable.  For the binary distribution of
-the LLVM GCC front end, this will be the full path of the <tt>lib</tt>
-directory inside of the LLVM GCC distribution.
-</p>
+The only way this can happen is if you haven't installed the runtime library. To
+correct this, do:</p>
+<pre>
+  % cd llvm/runtime
+  % make clean ; make install-bytecode
+</pre>
 </div>
 
 
@@ -554,7 +530,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/12/14 22:07:29 $
+  Last modified: $Date: 2004/12/15 00:14:01 $
 </address>
 
 </body>


Index: llvm/docs/GettingStarted.html
diff -u llvm/docs/GettingStarted.html:1.94 llvm/docs/GettingStarted.html:1.95
--- llvm/docs/GettingStarted.html:1.94	Tue Dec 14 16:07:29 2004
+++ llvm/docs/GettingStarted.html	Tue Dec 14 18:14:01 2004
@@ -185,7 +185,6 @@
 
   <li>Build the LLVM Suite:
   <ol>
-      <li>Set your LLVM_LIB_SEARCH_PATH environment variable.</li>
       <li><tt>gmake -k |& tee gnumake.out
          # this is csh or tcsh syntax</tt></li>
       <li>If you get an "internal compiler error (ICE)" see <a href="#brokengcc">below</a>.</li>
@@ -548,17 +547,16 @@
 <tt>.cshrc</tt> or <tt>.profile</tt>.
 
 <dl>
-    <dt><tt>LLVM_LIB_SEARCH_PATH</tt>=<tt><i>LLVMGCCDIR</i>/lib</tt>
-    <dd>
-    This environment variable helps the LLVM GCC front end find bytecode
-    libraries that it will need for compilation.
-    <p>
-
-    <dt>alias llvmgcc <i>LLVMGCCDIR</i><tt>/bin/gcc</tt>
-    <dt>alias llvmg++ <i>LLVMGCCDIR</i><tt>/bin/g++</tt>
-    <dd>
-    These aliases allow you to use the LLVM C and C++ front ends without putting
-    them in your <tt>PATH</tt> or typing in their complete pathnames.
+  <dt><tt>LLVM_LIB_SEARCH_PATH</tt>=<tt>/path/to/your/bytecode/libs</tt></dt>
+  <dd>This environment variable helps LLVM linking tools find the locations 
+  of your bytecode libraries. It is optional and provided only a convenience 
+  since you can specify the paths using the -L options of the tools.</dd>
+
+  <dt>alias llvmgcc <i>LLVMGCCDIR</i><tt>/bin/gcc</tt></dt>
+  <dt>alias llvmg++ <i>LLVMGCCDIR</i><tt>/bin/g++</tt></dt>
+  <dd></dt>These aliases allow you to use the LLVM C and C++ front ends 
+  without putting them in your <tt>PATH</tt> or typing in their complete 
+  pathnames.</dd>
 </dl>
 
 </div>
@@ -802,16 +800,6 @@
     <p>
 </ol>
 
-<p>In addition to running <tt>configure</tt>, you must set the
-<tt>LLVM_LIB_SEARCH_PATH</tt> environment variable in your startup shell 
-scripts.  This environment variable is used to locate "system" libraries like
-"<tt>-lc</tt>" and "<tt>-lm</tt>" when linking.  This variable should be set to
-the absolute path of the <tt>lib</tt> subdirectory of the GCC front
-end, or <i>LLVMGCCDIR</i>/<tt>lib</tt>.  For example, one might set
-<tt>LLVM_LIB_SEARCH_PATH</tt> to
-<tt>/home/vadve/lattner/local/x86/llvm-gcc/lib</tt> for the x86
-version of the GCC front end on our research machines.</p>
-
 </div>
 
 <!-- ======================================================================= -->
@@ -1503,7 +1491,7 @@
   <a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
   <a href="http://llvm.x10sys.com/rspencer/">Reid Spencer</a><br>
   <a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a><br>
-  Last modified: $Date: 2004/12/14 22:07:29 $
+  Last modified: $Date: 2004/12/15 00:14:01 $
 </address>
 </body>
 </html>


Index: llvm/docs/TestingGuide.html
diff -u llvm/docs/TestingGuide.html:1.22 llvm/docs/TestingGuide.html:1.23
--- llvm/docs/TestingGuide.html:1.22	Tue Dec 14 16:07:29 2004
+++ llvm/docs/TestingGuide.html	Tue Dec 14 18:14:01 2004
@@ -474,7 +474,7 @@
 </p>
 
 <pre>
-5 3 * * *       LLVM_LIB_SEARCH_PATH=.../llvm-gcc/lib $HOME/llvm/utils/NightlyTest.pl -parallel -enable-linscan ...CVSREPOSTRING... $HOME/buildtest-X86 $HOME/cvs/testresults-X86
+5 3 * * *  $HOME/llvm/utils/NightlyTest.pl -parallel -enable-linscan ...CVSREPOSTORY... $HOME/buildtest-X86 $HOME/cvs/testresults-X86
 </pre>
 
 <p>Or, you can create a shell script to encapsulate the running of the script.
@@ -488,7 +488,6 @@
 export LLVMGCCDIR=/proj/work/llvm/cfrontend/install
 export PATH=/proj/install/bin:$LLVMGCCDIR/bin:$PATH
 export LD_LIBRARY_PATH=/proj/install/lib
-export LLVM_LIB_SEARCH_PATH=/proj/work/llvm/cfrontend/install/lib
 cd $BASE
 cp /proj/work/llvm/llvm/utils/NightlyTest.pl .
 nice ./NightlyTest.pl -nice -release -verbose -parallel -enable-linscan -noexternals
@@ -513,7 +512,7 @@
 
   John T. Criswell<br>
   <a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a><br/>
-  Last modified: $Date: 2004/12/14 22:07:29 $
+  Last modified: $Date: 2004/12/15 00:14:01 $
 </address>
 </body>
 </html>






More information about the llvm-commits mailing list