1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
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>
11 <div class=
"doc_title">
12 Building the LLVM C/C++ Front-End
16 <li><a href=
"#instructions">Building llvm-gcc
4 from Source
</a></li>
17 <li><a href=
"#license">License Information
</a></li>
20 <div class=
"doc_author">
21 <p>Written by the LLVM Team
</p>
24 <!-- *********************************************************************** -->
25 <div class=
"doc_section">
26 <a name=
"instructions">Building llvm-gcc
4 from Source
</a>
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
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
46 <div class=
"doc_code">
48 svn co svn://anonsvn.opensource.apple.com/svn/llvm/trunk
<i>dst-directory
</i>
52 <p>After that, the code can be be updated in the destination directory
55 <div class=
"doc_code">
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>
66 <!-- *********************************************************************** -->
67 <div class=
"doc_section">
68 <a name=
"license">License Information
</a>
71 <div class=
"doc_text">
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.
79 More information is
<a href=
"FAQ.html#license">available in the FAQ
</a>.
83 <!-- *********************************************************************** -->
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>