Building the LLVM C/C++ Front-End
  1. Building llvm-gcc 4 from Source
  2. License Information

Written by the LLVM Team

Building llvm-gcc 4 from Source

This section describes how to aquire and build llvm-gcc4, which is based on the GCC 4.0.1 front-end. This front-end supports C, C++, Objective-C, and Objective-C++. Note that the instructions for building this front-end are completely different (and much easier!) than those for building llvm-gcc3 in the past.

  1. Retrieve the appropriate llvm-gcc4-x.y.source.tar.gz archive from the llvm web site.

    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:

    svn co http://llvm.org/svn/llvm-project/llvm-gcc-4.0/trunk dst-directory
    

    After that, the code can be be updated in the destination directory using:

    svn update

    The mirror is brought up to date every evening.

  2. Follow the directions in the top-level README.LLVM file for up-to-date instructions on how to build llvm-gcc4.
License Information

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.

More information is available in the FAQ.


Valid CSS! Valid HTML 4.01! LLVM Compiler Infrastructure
Last modified: $Date: 2007/09/27 05:43:13 $