From 15bfd89b995e9b8a4fe4f321b3ea29b546c94bac Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Tue, 12 Feb 2008 21:28:39 +0000 Subject: [PATCH] Add more spacing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47028 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CFEBuildInstrs.html | 50 ++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/docs/CFEBuildInstrs.html b/docs/CFEBuildInstrs.html index 442297be450..e3ade88c787 100644 --- a/docs/CFEBuildInstrs.html +++ b/docs/CFEBuildInstrs.html @@ -87,10 +87,10 @@ top-level README.LLVM file, adding ",ada" to EXTRALANGS, for example:

There are some complications however:

    -
  1. The only platform for which the Ada front-end is known to build is +
  2. The only platform for which the Ada front-end is known to build is 32 bit intel x86 running linux. It is unlikely to build for other - systems without some work.

  3. -
  4. The build requires having a compiler that supports Ada, C and C++. + systems without some work.

  5. +
  6. The build requires having a compiler that supports Ada, C and C++. The Ada front-end is written in Ada so an Ada compiler is needed to build it. The LLVM parts of llvm-gcc are written in C++ so a C++ compiler is needed to build them. The rest of gcc is written in C. @@ -99,15 +99,15 @@ top-level README.LLVM file, adding ",ada" to EXTRALANGS, for example: the rest of gcc). Otherwise it is possible to combine two versions of gcc, one that supports Ada and C (such as GNAT GPL Edition) and another - which supports C++, see below.

  7. + which supports C++, see below.

Supposing appropriate compilers are available, llvm-gcc with Ada support can be built using the following recipe:

    -
  1. Download the LLVM source - and unpack it: +
  2. Download the LLVM source + and unpack it:

    wget http://llvm.org/releases/2.2/llvm-2.2.tar.gz
    @@ -115,17 +115,17 @@ tar xzf llvm-2.2.tar.gz
     mv llvm-2.2 llvm
    - or check out the - latest version from subversion: +

    or check out the + latest version from subversion:

    svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
  3. -
  4. Download the +
  5. Download the llvm-gcc-4.2 source - and unpack it: + and unpack it:

    wget http://llvm.org/releases/2.2/llvm-gcc4.2-2.2.source.tar.gz
    @@ -133,16 +133,16 @@ tar xzf llvm-gcc4.2-2.2.source.tar.gz
     mv llvm-gcc4.2-2.2.source llvm-gcc-4.2
    - or check out the - latest version from subversion: +

    or check out the + latest version from subversion:

    svn co http://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk llvm-gcc-4.2
  6. -
  7. Make a build directory llvm-objects for llvm and make it the - current directory: +
  8. Make a build directory llvm-objects for llvm and make it the + current directory:

    mkdir llvm-objects
    @@ -150,36 +150,36 @@ cd llvm-objects
  9. -
  10. Configure LLVM (here it is configured to install into /usr/local): +
  11. Configure LLVM (here it is configured to install into /usr/local):

    ../llvm/configure --prefix=/usr/local
    - If you have a multi-compiler setup and the C++ compiler is not the - default, then you can configure like this: +

    If you have a multi-compiler setup and the C++ compiler is not the + default, then you can configure like this:

    CXX=PATH_TO_C++_COMPILER ../llvm/configure --prefix=/usr/local
  12. -
  13. Build LLVM: +
  14. Build LLVM:

    make
  15. -
  16. Install LLVM (optional): +
  17. Install LLVM (optional):

    make install
  18. -
  19. Make a build directory llvm-gcc-4.2-objects for llvm-gcc and make it the - current directory: +
  20. Make a build directory llvm-gcc-4.2-objects for llvm-gcc and make it the + current directory:

    @@ -189,15 +189,15 @@ cd llvm-gcc-4.2-objects
  21. -
  22. Configure llvm-gcc (here it is configured to install into /usr/local). +
  23. Configure llvm-gcc (here it is configured to install into /usr/local). Additional languages can be appended to the --enable-languages switch, - for example --enable-languages=ada,c,c++. + for example --enable-languages=ada,c,c++.

    ../llvm-gcc-4.2/configure --prefix=/usr/local --enable-languages=ada,c --enable-checking --enable-llvm=$PWD/../llvm-objects --disable-shared --disable-bootstrap --disable-multilib
    - If you have a multi-compiler setup, then you can configure like this: +

    If you have a multi-compiler setup, then you can configure like this:

    @@ -207,7 +207,7 @@ export CXX=PATH_TO_C++_COMPILER
     
  24. -
  25. Build and install the compiler: +
  26. Build and install the compiler:

    make