From 3ab71367d0313898ffa0389408105bd660d042b8 Mon Sep 17 00:00:00 2001
From: John Criswell
First, LLVM comes in two pieces. The first piece is the LLVM suite. This
contains all of the tools, libraries, and header files needed to use the
- low level virtual machine. It also contains a test suite that can be used
- to test the LLVM tools and the GCC front end.
+ low level virtual machine. It contains an assembler, disassembler,
+ bytecode analyzer, and bytecode optimizer. It also contains a test suite
+ that can be used to test the LLVM tools and the GCC front end.
The second piece is the GCC front end. This component provides a version
of GCC that compiles C and C++ code into LLVM bytecode. Currently, the
@@ -77,133 +77,6 @@
manipulated with the LLVM tools from the LLVM suite.
-
-
-
-
-
Requirements
-
-
- Before you begin to use the LLVM system, review the requirements given
- below. This may save you some trouble by knowing ahead of time what
- hardware and software you will need.
-
-
- Hardware
-
- LLVM is known to work on the following platforms:
-
-
-
- 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
- platform may not work on another platform). However, the code generators
- and Just-In-Time (JIT) compilers only generate SparcV9 or x86 machine code.
-
-
-
-
-
-
-
-
-
-
- - Unpacking the distribution requires the following tools: -
- Note that we currently do not support any other C++ compiler. -
- -- -
- -
- 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.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 remainder of this guide is meant to get you up and running with - LLVM and to give you some basic information about the LLVM environment. - The next section gives a short summary for those - who are already familiar with the system and want to get started as quickly - as possible. A complete guide to installation is - provided in the subsequent section. - -
The later sections of this guide describe the general layout of the the LLVM source-tree, a simple example using the LLVM tool chain, and links to find more information about LLVM or to get - help via e-mail. - -
See Setting Up Your Environment on tips to - 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. +
+ Consult the Getting Started with LLVM section for + detailed information on configuring and compiling LLVM. See + Setting Up Your Environment for tips that + simplify working with the GCC front end and LLVM tools. Go to + Program Layout to learn about the layout of the + source code tree. + + +
+ +
+ The GCC front end is not very portable at the moment. If you want to get + it to work on another platform, you can always request + a copy of the source + and try to compile it on your platform. +
+ + ++ + 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). +
+ ++ These are needed to use the LLVM test suite. +
The remainder of this guide is meant to get you up and running with + LLVM and to give you some basic information about the LLVM environment. + A complete guide to installation is provided in the + next section. + +
The later sections of this guide describe the general layout of the the LLVM source tree, a simple example using the LLVM tool chain, and links to find more information about LLVM or to get + help via e-mail.