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

Chris Lattner sabre at nondot.org
Wed Jan 3 23:08:42 PST 2007



Changes in directory llvm/docs:

GettingStarted.html updated: 1.150 -> 1.151
---
Log message:

ding dong llvm-gcc3 is dead


---
Diffs of the changes:  (+3 -75)

 GettingStarted.html |   78 ++--------------------------------------------------
 1 files changed, 3 insertions(+), 75 deletions(-)


Index: llvm/docs/GettingStarted.html
diff -u llvm/docs/GettingStarted.html:1.150 llvm/docs/GettingStarted.html:1.151
--- llvm/docs/GettingStarted.html:1.150	Thu Jan  4 01:06:05 2007
+++ llvm/docs/GettingStarted.html	Thu Jan  4 01:08:27 2007
@@ -54,7 +54,6 @@
   <li><a href="#tutorial">An Example Using the LLVM Tool Chain</a>
       <ol>
          <li><a href="#tutorial4">Example with llvm-gcc4</a></li>
-         <li><a href="#tutorial3">Example with llvm-gcc3</a></li>
       </ol>
   <li><a href="#problems">Common Problems</a>
   <li><a href="#links">Links</a>
@@ -648,12 +647,6 @@
   <dt><tt>llvm-test-x.y.tar.gz</tt></dt>
   <dd>Source release for the LLVM test suite.</dd>
 
-  <dt><tt>llvm-gcc3.4-x.y.source.tar.gz</tt></dt>
-  <dd>Source release of the LLVM GCC 3.4 front end.<br/></dd>
-	
-  <dt><tt>llvm-gcc3.4-x.y-platform.tar.gz</tt></dt>
-  <dd>Binary release of the LLVM GCC 3.4 for a specific platform.<br/></dd>
-
   <dt><tt>llvm-gcc4-x.y.source.tar.gz</tt></dt>
   <dd>Source release of the llvm-gcc4 front end.  See README.LLVM in the root
       directory for build instructions.<br/></dd>
@@ -750,11 +743,6 @@
       -</tt></li>
 </ol>
 
-<p>Next, you will need to fix your system header files (llvm-gcc3.4 only):</p>
-
-<p><tt>cd llvm-gcc3.4/<i>platform</i><br>
-   ./fixheaders</tt></p>
-
 <p>The binary versions of the GCC front end may not suit all of your needs.  For
 example, the binary distribution may include an old version of a system header
 file, not "fix" a header file that needs to be fixed for GCC, or it may be
@@ -1504,8 +1492,8 @@
 <!-- *********************************************************************** -->
 
 <div class="doc_text">
-<p>This section gives an example of using LLVM.  Since we are currently 
-transitioning from llvm-gcc3 to llvm-gcc4, we include examples for both.
+<p>This section gives an example of using LLVM.  llvm-gcc3 is now obsolete,
+so we only include instructiosn for llvm-gcc4.
 </p>
 
 <p><b>Note:</b> The <i>gcc4</i> frontend's invocation is <b><i>considerably different</i></b>
@@ -1588,66 +1576,6 @@
 
 </div>
 
-<!-- ======================================================================= -->
-<div class="doc_subsection"><a name="tutorial3">Example with llvm-gcc3</a></div>
-
-<div class="doc_text">
-
-<ol>
-  <li>First, create a simple C file, name it 'hello.c':
-       <pre>
-   #include <stdio.h>
-   int main() {
-     printf("hello world\n");
-     return 0;
-   }
-       </pre></li>
-
-  <li><p>Next, compile the C file into a LLVM bytecode file:</p>
-      <p><tt>% llvm-gcc hello.c -o hello</tt></p>
-
-      <p>Note that you should have already built the tools and they have to be
-      in your path, at least <tt>gccas</tt> and <tt>gccld</tt>.</p>
-
-      <p>This will create two result files: <tt>hello</tt> and
-      <tt>hello.bc</tt>. The <tt>hello.bc</tt> is the LLVM bytecode that
-      corresponds the the compiled program and the library facilities that it
-      required.  <tt>hello</tt> is a simple shell script that runs the bytecode
-      file with <tt>lli</tt>, making the result directly executable.  Note that
-      all LLVM optimizations are enabled by default, so there is no need for a 
-      "-O3" switch.</p></li>
-
-  <li><p>Run the program. To make sure the program ran, execute one of the
-      following commands:</p>
-
-      <p><tt>% ./hello</tt></p>
-
-      <p>or</p>
-
-      <p><tt>% lli hello.bc</tt></p></li>
-
-  <li><p>Use the <tt>llvm-dis</tt> utility to take a look at the LLVM assembly
-      code:</p>
-
-      <p><tt>% llvm-dis < hello.bc | less</tt><br><br></li>
-
-  <li><p>Compile the program to native assembly using the LLC code
-      generator:</p>
-
-      <p><tt>% llc hello.bc -o hello.s</tt></p>
-
-  <li><p>Assemble the native assembly language file into a program:</p>
-
-      <p><b>Solaris:</b><tt>% /opt/SUNWspro/bin/cc -xarch=v9 hello.s -o hello.native</tt></p>
-      <p><b>Others:</b><tt>% gcc hello.s -o hello.native</tt></p>
-
-  <li><p>Execute the native code program:</p>
-
-      <p><tt>% ./hello.native</tt></p></li>
-
-</ol>
-
-</div>
 
 <!-- *********************************************************************** -->
 <div class="doc_section">
@@ -1698,7 +1626,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.org">The LLVM Compiler Infrastructure</a><br>
-  Last modified: $Date: 2007/01/04 07:06:05 $
+  Last modified: $Date: 2007/01/04 07:08:27 $
 </address>
 </body>
 </html>






More information about the llvm-commits mailing list