From: Reid Spencer
Compiling LLVM requires that you have several software packages -installed:
- -There are some additional tools that you may want to have when working with -LLVM:
- -If you want to make changes to the configure scripts, you will need GNU - autoconf (2.57 or higher), and consequently, GNU M4 (version 1.4 or - higher). You will also need automake. Any old version of - automake from 1.4p5 on should work; we only use aclocal from that - package.
- These are needed to use the LLVM test suite. Please note that newer - versions of QMTest may not work with the LLVM test suite. QMTest 2.0.3 - can be retrieved from the QMTest CVS repository using the following - commands:
+Compiling LLVM requires that you have several software packages + installed. The table below lists those required packages. The Package column + is the usual name for the software package that LLVM depends on. The Version + column provides "known to work" versions of the package. The Notes column + describes how LLVM uses the package and provides other details.
+Package | Version | Notes |
---|---|---|
GNU Make | +3.79, 3.79.1 | +Makefile/build processor | +
GCC | +3.4.2 | +C/C++ compiler (Note 4) | +
Flex | +2.5.4 | +LEX compiler | +
Bison | +1.35 | +YACC compiler | +
DejaGnu | +1.4.2 | +Automated test suite (Note 2) | +
tcl | +8.3, 8.4 | +Automated test suite (Note 2) | +
expect | +5.38.0 | +Automated test suite (Note 2) | +
GNU M4 + | 1.4 | +Macro processor for configuration (Note 1) | +
GNU Autoconf | +2.59 | +Configuration script builder (Note 1) | +
GNU Automake | +2.59 | +aclocal macro generator (Note 1) | +
perl | +>5.6.0 | +Nightly tester, utilities | +
libtool | +1.5.10 | +Shared library manager (Note 1) | +
QMTest | +2.0.3 | +Automated test suite (Note 2, + Note 3) | +
Python | +2.3 | +Automated test suite (Note 2, + Note 3) | +
CVS | +>1.11 | +CVS access to LLVM (Note 5) | +
Notes:
+Additionally, your compilation host is expected to have the usual + plethora of Unix utilities. Specifically:
+This document provides a list of the software packages that LLVM depends on - in order to be built successfully from CVS sources. The requirements for - building from a distribution are fewer. Items only needed for building from a - distribution are noted with an asterisk (*).
-The table below shows the required software packages. Package is the usual - name for a given software package that LLVM depends on. Version is a list of - "known to work" versions of the package. Usage describes how LLVM uses the - package.
-Package | Version | Usage |
---|---|---|
autoconf* | 2.59 | Configuration script builder |
bison | 1.35 | YACC compiler for various languages |
cvs* | 1.11 | Obtaining latest CVS versions |
deja-gnu | 1.4.2 | Automated test suite |
flex | 2.5.4 | LEX compiler for various languages |
expect | 5.38.0 | Automated test suite |
perl | >5.6.0 | Nightly tester, utilities |
GCC | 3.4.2 | C/C++ compiler |
GNU Make | 3.79, 3.79.1 | Makefile/build - processor |
libtool* | 1.5.10 | Shared library manager |
qmtest | 2.0.3 | Automated test suite |
tcl | 8.3 | Automated test suite |
Additionally, your compilation host is expected to have the usual plethora of - Unix utilities. Specifically:
-