[llvm-commits] CVS: llvm/docs/CFEBuildInstrs.html
John Criswell
criswell at cs.uiuc.edu
Mon Dec 8 14:00:02 PST 2003
Changes in directory llvm/docs:
CFEBuildInstrs.html updated: 1.7 -> 1.8
---
Log message:
Updated build instructions for Sparc.
---
Diffs of the changes: (+24 -1)
Index: llvm/docs/CFEBuildInstrs.html
diff -u llvm/docs/CFEBuildInstrs.html:1.7 llvm/docs/CFEBuildInstrs.html:1.8
--- llvm/docs/CFEBuildInstrs.html:1.7 Wed Nov 12 14:47:30 2003
+++ llvm/docs/CFEBuildInstrs.html Mon Dec 8 13:59:14 2003
@@ -85,6 +85,11 @@
</pre></li>
<li><p>Configure, build and install the C front-end:</p>
+
+<p>
+<b>Linux/x86:</b>
+</p>
+
<pre>
% cd build
% ../src/configure --prefix=$CFEINSTALL --disable-nls --disable-shared \
@@ -94,6 +99,24 @@
% gmake all; gmake install
</pre>
+<p>
+<b>Solaris/Sparc:</b>
+</p>
+
+<p>
+For Solaris/Sparc, LLVM only supports SparcV9. Therefore, the configure
+command line should like something like this:
+</p>
+
+<pre>
+ % cd build
+ % ../src/configure --prefix=$CFEINSTALL --disable-nls --disable-shared \
+ --enable-languages=c,c++ sparcv9-sun-solaris2.8
+ % gmake all-gcc
+ % setenv LLVM_LIB_SEARCH_PATH `pwd`/gcc
+ % gmake all; gmake install
+</pre>
+
<p><b>Common Problem:</b> You may get error messages regarding the fact
that LLVM does not support inline assembly. Here are two common
fixes:</p>
@@ -180,7 +203,7 @@
<address>Brian Gaeke</address>
<a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a>
<br>
- Last modified: $Date: 2003/11/12 20:47:30 $
+ Last modified: $Date: 2003/12/08 19:59:14 $
</div>
</body>
More information about the llvm-commits
mailing list