forked from OSchip/llvm-project
				
			Added information about how to unpack the distribution for those who do not
have access to CVS. llvm-svn: 7116
This commit is contained in:
		
							parent
							
								
									c48e3fdffd
								
							
						
					
					
						commit
						c2ca0c44c8
					
				| 
						 | 
					@ -30,6 +30,7 @@
 | 
				
			||||||
          <li><a href="#quickstart">Getting started quickly (a summary)</a>
 | 
					          <li><a href="#quickstart">Getting started quickly (a summary)</a>
 | 
				
			||||||
          <li><a href="#terminology">Terminology and Notation</tt></a>
 | 
					          <li><a href="#terminology">Terminology and Notation</tt></a>
 | 
				
			||||||
          <li><a href="#environment">Setting up your environment</a>
 | 
					          <li><a href="#environment">Setting up your environment</a>
 | 
				
			||||||
 | 
					          <li><a href="#unpack">Unpacking the LLVM Archives</a>
 | 
				
			||||||
          <li><a href="#checkout">Checkout LLVM from CVS</a>
 | 
					          <li><a href="#checkout">Checkout LLVM from CVS</a>
 | 
				
			||||||
	  <li><a href="#config">Local LLVM Configuration</tt></a>
 | 
						  <li><a href="#config">Local LLVM Configuration</tt></a>
 | 
				
			||||||
          <li><a href="#compile">Compiling the LLVM Suite Source Code</a>
 | 
					          <li><a href="#compile">Compiling the LLVM Suite Source Code</a>
 | 
				
			||||||
| 
						 | 
					@ -327,12 +328,55 @@
 | 
				
			||||||
        your <tt>PATH</tt> or typing in its complete pathname.
 | 
					        your <tt>PATH</tt> or typing in its complete pathname.
 | 
				
			||||||
    </dl>
 | 
					    </dl>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <!------------------------------------------------------------------------->
 | 
				
			||||||
 | 
					    <h3><a name="unpack">Unpacking the LLVM Archives</a></h3>
 | 
				
			||||||
 | 
					    <!------------------------------------------------------------------------->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <p>
 | 
				
			||||||
 | 
					    If you have the LLVM distribution, you will need to unpack it before you
 | 
				
			||||||
 | 
					    can begin to compile it.  LLVM is distributed as a set of four files.  Each
 | 
				
			||||||
 | 
					    file is a TAR archive that is compressed with the gzip program.
 | 
				
			||||||
 | 
					    </p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <p> The four files are the following:
 | 
				
			||||||
 | 
					    <dl compact>
 | 
				
			||||||
 | 
					        <dt>llvm.tar.gz
 | 
				
			||||||
 | 
					        <dd>This is the source code to the LLVM suite.
 | 
				
			||||||
 | 
					        <p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        <dt>cfrontend.sparc.tar.gz
 | 
				
			||||||
 | 
					        <dd>This is the binary release of the C front end for Solaris/Sparc.
 | 
				
			||||||
 | 
					        <p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        <dt>cfrontend.x86.tar.gz
 | 
				
			||||||
 | 
					        <dd>This is the binary release of the C front end for Linux/x86.
 | 
				
			||||||
 | 
					        <p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        <dt>cfrontend-src.tar.gz
 | 
				
			||||||
 | 
					        <dd>This is the source code release of the C front end.
 | 
				
			||||||
 | 
					        <p>
 | 
				
			||||||
 | 
					    </dl>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <p>
 | 
				
			||||||
 | 
					    To unpack the files, take each one, unzip it, and then untar it.  A fast
 | 
				
			||||||
 | 
					    way to do that is with the following:
 | 
				
			||||||
 | 
					    </p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <tt>gunzip --stdout <i>name of file</i> | tar -xvf -</tt>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <p>
 | 
				
			||||||
 | 
					    For example, to extract the LLVM source code, use the following command:
 | 
				
			||||||
 | 
					    </p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <tt>gunzip --stdout llvm.tar.gz | tar -xvf -</tt>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <!------------------------------------------------------------------------->
 | 
					    <!------------------------------------------------------------------------->
 | 
				
			||||||
    <h3><a name="checkout">Checkout LLVM from CVS</a></h3>
 | 
					    <h3><a name="checkout">Checkout LLVM from CVS</a></h3>
 | 
				
			||||||
    <!------------------------------------------------------------------------->
 | 
					    <!------------------------------------------------------------------------->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <p>To get a fresh copy of the entire source code, all you
 | 
					    <p>If you have access to our CVS repository, you can get a fresh copy of
 | 
				
			||||||
    need to do is check it out from CVS as follows:
 | 
					    the entire source code.  All you need to do is check it out from CVS as
 | 
				
			||||||
 | 
					    follows:
 | 
				
			||||||
    <ul>
 | 
					    <ul>
 | 
				
			||||||
    <li><tt>cd <i>where-you-want-llvm-to-live</i></tt>
 | 
					    <li><tt>cd <i>where-you-want-llvm-to-live</i></tt>
 | 
				
			||||||
    <li><tt>cvs -d <i>CVSROOTDIR</i> checkout llvm</tt></p>
 | 
					    <li><tt>cvs -d <i>CVSROOTDIR</i> checkout llvm</tt></p>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue