Couple of fixes to mention bunzip2 and make instructions more clear.
[llvm-complete.git] / docs / CFEBuildInstrs.html
blobc9b48f42740a9b6c7e0d8af037c2f1d85fe90fd2
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html>
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6 <link rel="stylesheet" href="llvm.css" type="text/css" media="screen">
7 <title>Building the LLVM C/C++ Front-End</title>
8 </head>
9 <body>
11 <div class="doc_title">
12 Building the LLVM C/C++ Front-End
13 </div>
15 <ol>
16 <li><a href="#instructions">Building llvm-gcc 4 from Source</a></li>
17 <li><a href="#license">License Information</a></li>
18 </ol>
20 <div class="doc_author">
21 <p>Written by the LLVM Team</p>
22 </div>
24 <!-- *********************************************************************** -->
25 <div class="doc_section">
26 <a name="instructions">Building llvm-gcc 4 from Source</a>
27 </div>
28 <!-- *********************************************************************** -->
30 <div class="doc_text">
32 <p>This section describes how to aquire and build llvm-gcc4, which is based on
33 the GCC 4.0.1 front-end. This front-end supports C, C++, Objective-C, and
34 Objective-C++. Note that the instructions for building this front-end are
35 completely different (and much easier!) than those for building llvm-gcc3 in
36 the past.</p>
38 <ol>
39 <li><p>Retrieve the appropriate llvm-gcc4-x.y.source.tar.gz archive from the
40 <a href="http://llvm.org/releases/">llvm web site</a>.</p>
42 <p>It is also possible to download the sources of the llvm-gcc4 front end
43 from a read-only mirror using subversion. To check out the code the
44 first time use:</p>
46 <div class="doc_code">
47 <pre>
48 svn co http://llvm.org/svn/llvm-project/llvm-gcc-4.0/trunk <i>dst-directory</i>
49 </pre>
50 </div>
52 <p>After that, the code can be be updated in the destination directory
53 using:</p>
55 <div class="doc_code">
56 <pre>svn update</pre>
57 </div>
59 <p>The mirror is brought up to date every evening.</p></li>
61 <li>Follow the directions in the top-level <tt>README.LLVM</tt> file for
62 up-to-date instructions on how to build llvm-gcc4.</li>
63 </ol>
65 </div>
66 <!-- *********************************************************************** -->
67 <div class="doc_section">
68 <a name="license">License Information</a>
69 </div>
71 <div class="doc_text">
72 <p>
73 The LLVM GCC frontend is licensed to you under the GNU General Public License
74 and the GNU Lesser General Public License. Please see the files COPYING and
75 COPYING.LIB for more details.
76 </p>
78 <p>
79 More information is <a href="FAQ.html#license">available in the FAQ</a>.
80 </p>
81 </div>
83 <!-- *********************************************************************** -->
85 <hr>
86 <address>
87 <a href="http://jigsaw.w3.org/css-validator/check/referer"><img
88 src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!"></a>
89 <a href="http://validator.w3.org/check/referer"><img
90 src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"></a>
92 <a href="http://llvm.org">LLVM Compiler Infrastructure</a><br>
93 Last modified: $Date$
94 </address>
96 </body>
97 </html>