From 364cec4b2c9d04fee344b97a42127e14e5598013 Mon Sep 17 00:00:00 2001 From: John Criswell Date: Fri, 12 Mar 2004 20:31:37 +0000 Subject: [PATCH] Updated to LLVM 1.2. Added information on getting the LLVM GCC front end from CVS. Added new configure script options. Made other minor corrections and modifications. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12340 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/GettingStarted.html | 51 +++++++++++++++++++++++++++++----------- 1 file changed, 37 insertions(+), 14 deletions(-) diff --git a/docs/GettingStarted.html b/docs/GettingStarted.html index cfb78cf01ee..2e04c9ea650 100644 --- a/docs/GettingStarted.html +++ b/docs/GettingStarted.html @@ -96,8 +96,8 @@ from the LLVM suite.

  1. cd where-you-want-the-C-front-end-to-live
  2. gunzip --stdout cfrontend.platform.tar.gz | tar -xvf - -
  3. Sparc Only:
    - cd cfrontend/sparc
    +
  4. Sparc and MacOS X Only:
    + cd cfrontend/platform
    ./fixheaders
@@ -106,7 +106,7 @@ from the LLVM suite.

  • With the distributed files:
    1. cd where-you-want-llvm-to-live -
    2. gunzip --stdout llvm.tar.gz | tar -xvf - +
    3. gunzip --stdout llvm-version.tar.gz | tar -xvf -
    4. cd llvm
  • @@ -382,23 +382,23 @@ file is a TAR archive that is compressed with the gzip program.

    The files are as follows:

    -
    llvm-1.1.tar.gz +
    llvm-1.2.tar.gz
    This is the source code to the LLVM suite.

    -

    cfrontend-1.1.sparc-sun-solaris2.8.tar.gz +
    cfrontend-1.2.sparc-sun-solaris2.8.tar.gz
    This is the binary release of the GCC front end for Solaris/Sparc.

    -

    cfrontend-1.1.i686-redhat-linux-gnu.tar.gz +
    cfrontend-1.2.i686-redhat-linux-gnu.tar.gz
    This is the binary release of the GCC front end for Linux/x86.

    -

    cfrontend-1.1.i386-unknown-freebsd5.1.tar.gz +
    cfrontend-1.2.i386-unknown-freebsd5.1.tar.gz
    This is the binary release of the GCC front end for FreeBSD/x86.

    -

    cfrontend-1.1.powerpc-apple-darwin7.0.0.tar.gz +
    cfrontend-1.2.powerpc-apple-darwin7.0.0.tar.gz
    This is the binary release of the GCC front end for MacOS X/PPC.
    @@ -432,6 +432,10 @@ revision), you can specify a label. The following releases have the following label:

    -

    Note that the GCC front end is not included in the CVS repository. You -should have downloaded the binary distribution for your platform.

    +

    +If you would like to get the GCC front end source code, you can also get it +from the CVS repository: +

    +

    @@ -469,7 +479,7 @@ location must be specified when the LLVM suite is configured.

    If you are using Solaris/Sparc or MacOS X/PPC, you will need to fix the header files:

    -

    cd cfrontend/sparc
    +

    cd cfrontend/platform
    ./fixheaders

    The binary versions of the GCC front end may not suit all of your needs. For @@ -527,7 +537,7 @@ script to configure the build system:

    --with-llvmgccdir=LLVMGCCDIR
    - Path to the location where the LLVM C front end binaries and + Path to the location where the LLVM GCC front end binaries and associated libraries were installed. This must be specified as an absolute pathname.

    @@ -553,6 +563,19 @@ script to configure the build system:

    benchmarks. If directory is left unspecified, configure uses the default value /home/vadve/shared/benchmarks/speccpu2000/benchspec. +

    +

    --enable-spec95 +
    --enable-spec95=<directory> +
    + Enable the use of SPEC95 when testing LLVM. It is similar to the + --enable-spec2000 option. +

    +

    --enable-povray +
    --enable-povray=<directory> +
    + Enable the use of Povray as an external test. Versions of Povray written + in C should work. This option is similar to the --enable-spec2000 + option.

    To configure LLVM, follow these steps:

    @@ -751,7 +774,7 @@ named after the build type:

    One useful source of information about the LLVM source base is the LLVM doxygen documentation, available at doxygen documentation available at http://llvm.cs.uiuc.edu/doxygen/. The following is a brief introduction to code layout:

    @@ -888,7 +911,7 @@ the LLVM infrastructure.

    The tools directory contains the executables built out of the libraries above, which form the main part of the user interface. You can always get help for a tool by typing tool_name --help. The -following is a brief introduction to the most important tools.

    +following is a brief introduction to the most important tools:

    analyze
    analyze is used to run a specific