2004-05-12 18:49:47 +00:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
|
|
|
"http://www.w3.org/TR/html4/strict.dtd">
|
2003-10-23 01:48:33 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
2004-05-12 18:49:47 +00:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
|
<link rel="stylesheet" href="llvm.css" type="text/css" media="screen">
|
2007-02-14 07:42:12 +00:00
|
|
|
<title>Building the LLVM C/C++ Front-End</title>
|
2003-10-23 01:48:33 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div class="doc_title">
|
2007-02-14 07:42:12 +00:00
|
|
|
Building the LLVM C/C++ Front-End
|
2003-10-23 01:48:33 +00:00
|
|
|
</div>
|
2003-10-21 21:58:38 +00:00
|
|
|
|
2003-11-12 20:47:30 +00:00
|
|
|
<ol>
|
2007-02-14 07:42:12 +00:00
|
|
|
<li><a href="#instructions">Building llvm-gcc 4 from Source</a></li>
|
2004-06-01 18:13:05 +00:00
|
|
|
<li><a href="#license">License Information</a></li>
|
2003-11-12 20:47:30 +00:00
|
|
|
</ol>
|
|
|
|
|
2004-05-23 21:07:27 +00:00
|
|
|
<div class="doc_author">
|
2007-02-14 07:42:12 +00:00
|
|
|
<p>Written by the LLVM Team</p>
|
2003-11-12 20:47:30 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- *********************************************************************** -->
|
|
|
|
<div class="doc_section">
|
2007-02-14 07:42:12 +00:00
|
|
|
<a name="instructions">Building llvm-gcc 4 from Source</a>
|
2003-10-23 01:48:33 +00:00
|
|
|
</div>
|
|
|
|
<!-- *********************************************************************** -->
|
|
|
|
|
|
|
|
<div class="doc_text">
|
2006-07-11 20:47:00 +00:00
|
|
|
|
|
|
|
<p>This section describes how to aquire and build llvm-gcc4, which is based on
|
2006-11-16 09:31:19 +00:00
|
|
|
the GCC 4.0.1 front-end. This front-end supports C, C++, Objective-C, and
|
2006-07-11 20:47:00 +00:00
|
|
|
Objective-C++. Note that the instructions for building this front-end are
|
2007-02-14 07:42:12 +00:00
|
|
|
completely different (and much easier!) than those for building llvm-gcc3 in
|
|
|
|
the past.</p>
|
2006-07-11 20:47:00 +00:00
|
|
|
|
2003-10-21 21:58:38 +00:00
|
|
|
<ol>
|
2006-11-16 09:31:19 +00:00
|
|
|
<li><p>Retrieve the appropriate llvm-gcc4-x.y.source.tar.gz archive from the
|
2007-02-14 07:42:12 +00:00
|
|
|
<a href="http://llvm.org/releases/">llvm web site</a>.</p>
|
2006-06-16 23:34:49 +00:00
|
|
|
|
2006-11-16 09:31:19 +00:00
|
|
|
<p>It is also possible to download the sources of the llvm-gcc4 front end
|
|
|
|
from a read-only mirror using subversion. To check out the code the
|
|
|
|
first time use:</p>
|
2006-06-16 23:34:49 +00:00
|
|
|
|
2006-11-16 09:31:19 +00:00
|
|
|
<div class="doc_code">
|
|
|
|
<pre>
|
|
|
|
svn co svn://anonsvn.opensource.apple.com/svn/llvm/trunk <i>dst-directory</i>
|
|
|
|
</pre>
|
|
|
|
</div>
|
2006-06-16 23:34:49 +00:00
|
|
|
|
2006-11-16 09:31:19 +00:00
|
|
|
<p>After that, the code can be be updated in the destination directory
|
|
|
|
using:</p>
|
|
|
|
|
|
|
|
<div class="doc_code">
|
|
|
|
<pre>svn update</pre>
|
|
|
|
</div>
|
2006-06-16 23:34:49 +00:00
|
|
|
|
2006-11-16 09:31:19 +00:00
|
|
|
<p>The mirror is brought up to date every evening.</p></li>
|
2006-07-11 20:47:00 +00:00
|
|
|
|
2006-11-16 09:31:19 +00:00
|
|
|
<li>Follow the directions in the top-level <tt>README.LLVM</tt> file for
|
|
|
|
up-to-date instructions on how to build llvm-gcc4.</li>
|
2006-07-11 20:47:00 +00:00
|
|
|
</ol>
|
2006-11-16 09:31:19 +00:00
|
|
|
|
2006-07-11 20:47:00 +00:00
|
|
|
</div>
|
2003-12-18 16:43:17 +00:00
|
|
|
<!-- *********************************************************************** -->
|
|
|
|
<div class="doc_section">
|
|
|
|
<a name="license">License Information</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="doc_text">
|
|
|
|
<p>
|
|
|
|
The LLVM GCC frontend is licensed to you under the GNU General Public License
|
|
|
|
and the GNU Lesser General Public License. Please see the files COPYING and
|
|
|
|
COPYING.LIB for more details.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
2006-07-11 20:47:00 +00:00
|
|
|
More information is <a href="FAQ.html#license">available in the FAQ</a>.
|
2003-12-18 16:43:17 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
2003-10-21 21:58:38 +00:00
|
|
|
<!-- *********************************************************************** -->
|
|
|
|
|
2003-10-28 21:09:29 +00:00
|
|
|
<hr>
|
2004-05-12 18:49:47 +00:00
|
|
|
<address>
|
|
|
|
<a href="http://jigsaw.w3.org/css-validator/check/referer"><img
|
|
|
|
src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!"></a>
|
|
|
|
<a href="http://validator.w3.org/check/referer"><img
|
|
|
|
src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"></a>
|
|
|
|
|
2006-03-14 05:39:39 +00:00
|
|
|
<a href="http://llvm.org">LLVM Compiler Infrastructure</a><br>
|
2003-10-28 21:09:29 +00:00
|
|
|
Last modified: $Date$
|
2004-05-12 18:49:47 +00:00
|
|
|
</address>
|
2003-10-21 21:58:38 +00:00
|
|
|
|
2003-10-23 01:48:33 +00:00
|
|
|
</body>
|
|
|
|
</html>
|