From abb1b588c2eb08ab9dd306b50001805bdce89553 Mon Sep 17 00:00:00 2001
From: John Criswell
- If you want to compile your own version of the GCC front end, you will need
- additional disk space:
-
-
-
LLVM may compile on other platforms. The LLVM utilities should work
on other platforms, so it should be possible to generate and produce LLVM
bytecode on unsupported platforms (although bytecode generated on one
@@ -156,8 +126,9 @@
Unpacking the distribution requires the following tools:
-
-
-
@@ -112,36 +112,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
If you want to make changes to the configure scripts, you will need GNU autoconf (2.53 or higher), and consequently, GNU M4 (version 1.4 or higher).
+ ++ In order to run the tests in the LLVM test suite, you will need QMTest and + a version of the Python interpreter that works with QMTest.
The later sections of this guide describe the general layout of the the LLVM source-tree, a --with-llvmgccdir=directory
+
+
- For the pre-built GCC front end binaries, the LLVMGCCDIR is the
+ For the pre-built GCC front end binaries, the LLVMGCCDIR is
cfrontend/platform/llvm-gcc.
-
-
-
-
-
If you have the LLVM distribution, you will need to unpack it before you
- can begin to compile it. LLVM is distributed as a set of four files. Each
+ can begin to compile it. LLVM is distributed as a set of three files. Each
file is a TAR archive that is compressed with the gzip program.
The four files are as follows:
+ The three files are as follows:
-
-
Note that the GCC front end is not included in the CVS repository. You
- should have either downloaded the source, or better yet, downloaded the
- binary distribution for your platform.
+ should have downloaded the binary distribution for your platform.
Once checked out from the CVS repository, the LLVM suite source code
must be configured via the configure script. This script sets
variables in llvm/Makefile.config and
- llvm/include/Config/config.h. It also populates OBJ_ROOT with
+ llvm/include/Config/config.h. It also populates OBJ_ROOT with
the Makefiles needed to build LLVM.
@@ -477,7 +443,7 @@
@@ -535,7 +501,7 @@
cd OBJ_ROOT
-
@@ -547,10 +513,10 @@
This environment variable is used to locate "system" libraries like
"-lc" and "-lm" when linking. This variable should be set
to the absolute path for the bytecode-libs subdirectory of the GCC front end
- install, or LLVMGCCDIR/llvm-gcc/bytecode-libs. For example, one might
+ install, or LLVMGCCDIR/llvm-gcc/bytecode-libs. For example, one might
set LLVM_LIB_SEARCH_PATH to
/home/vadve/lattner/local/x86/llvm-gcc/bytecode-libs for the X86
- version of the C front-end on our research machines.
+ version of the GCC front end on our research machines.
gmake
@@ -746,13 +713,13 @@
@@ -897,8 +864,8 @@
@@ -979,62 +946,6 @@
-
-
-
- This step is optional if you have the GCC front end binary distribution for
- your platform.
-
-
- Be forewarned, though: the build system for the GCC front end is not as
- polished as the rest of the LLVM code, so there will be many warnings and
- errors that you will need to ignore for now:
-
-
- Once this is done, you should have a built front end compiler in
- LLVMGCCDIR.
-
Specify where the LLVM GCC frontend is installed.
+
+ Enable the SPEC2000 benchmarks for testing. The SPEC2000
+ benchmarks should be available in directory.
@@ -295,9 +281,7 @@
simplify working with the LLVM front-end and compiled tools. See the
next section for other useful details in working with LLVM,
or go straight to Program Layout to learn about the
- layout of the source code tree. For information on building the GCC front
- end yourself, see Compiling the LLVM GCC Front End for
- information.
+ layout of the source code tree.
@@ -427,8 +394,7 @@
CC
Tells configure which C compiler to use. By default,
- configure will look for the first GCC compiler in
+ configure will look for the first GCC C compiler in
PATH. Use this variable to override
configure's default behavior.
@@ -487,7 +453,7 @@
CXX
Tells configure which C++ compiler to use. By default,
- configure will look for the first GCC compiler in
+ configure will look for the first GCC C++ compiler in
PATH. Use this variable to override
configure's default behavior.
@@ -520,11 +486,11 @@
SRC_ROOT/configure
Compiling the LLVM Suite Source Code
@@ -563,17 +529,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-