X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FGettingStarted.html;h=eed4547a7818ef78de98eef2c66f921590e77727;hb=963a97f1a365c8d09ca681e922371f9ec3473ee8;hp=88d34db5ec424e58eee5ef59a762dd31001a18a7;hpb=2dedcf570a941e0957e44f823ef4799d52e2f81b;p=oota-llvm.git diff --git a/docs/GettingStarted.html b/docs/GettingStarted.html index 88d34db5ec4..eed4547a781 100644 --- a/docs/GettingStarted.html +++ b/docs/GettingStarted.html @@ -17,40 +17,43 @@
  • Getting Started Quickly (A Summary)
  • Requirements
      -
    1. Hardware -
    2. Software -
    3. Broken versions of GCC +
    4. Hardware
    5. +
    6. Software
    7. +
    8. Broken versions of GCC and other tools
  • Getting Started with LLVM
      -
    1. Terminology and Notation -
    2. Setting Up Your Environment -
    3. Unpacking the LLVM Archives -
    4. Checkout LLVM from CVS -
    5. Install the GCC Front End -
    6. Local LLVM Configuration -
    7. Compiling the LLVM Suite Source Code -
    8. The Location of LLVM Object Files -
    9. Optional Configuration Items +
    10. Terminology and Notation
    11. +
    12. Setting Up Your Environment
    13. +
    14. Unpacking the LLVM Archives
    15. +
    16. Checkout LLVM from Subversion
    17. +
    18. Install the GCC Front End
    19. +
    20. Local LLVM Configuration
    21. +
    22. Compiling the LLVM Suite Source Code
    23. +
    24. Cross-Compiling LLVM
    25. +
    26. The Location of LLVM Object Files
    27. +
    28. Optional Configuration Items
  • Program layout
      -
    1. CVS directories -
    2. llvm/examples -
    3. llvm/include -
    4. llvm/lib -
    5. llvm/projects -
    6. llvm/runtime -
    7. llvm/test -
    8. llvm-test -
    9. llvm/tools -
    10. llvm/utils -
    11. llvm/win32 +
    12. llvm/examples
    13. +
    14. llvm/include
    15. +
    16. llvm/lib
    17. +
    18. llvm/projects
    19. +
    20. llvm/runtime
    21. +
    22. llvm/test
    23. +
    24. llvm-test
    25. +
    26. llvm/tools
    27. +
    28. llvm/utils
    29. +
    30. llvm/win32
  • An Example Using the LLVM Tool Chain +
      +
    1. Example with llvm-gcc4
    2. +
  • Common Problems
  • Links @@ -79,14 +82,14 @@ basic information.

    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 contains an assembler, disassembler, bytecode -analyzer, and bytecode optimizer. It also contains a test suite that can be +level virtual machine. It contains an assembler, disassembler, bitcode +analyzer and bitcode 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 GCC front -end is a modified version of GCC 3.4 (we track the GCC 3.4 development). Once -compiled into LLVM bytecode, a program can be manipulated with the LLVM tools +GCC that compiles C and C++ code into LLVM bitcode. Currently, the GCC front +end uses the GCC parser to convert code to LLVM. Once +compiled into LLVM bitcode, a program can be manipulated with the LLVM tools from the LLVM suite.

    @@ -111,19 +114,19 @@ and performance.

  • Read the documentation.
  • Read the documentation.
  • Remember that you were warned twice about reading the documentation.
  • -
  • Install the GCC front end if you intend to compile C or C++: +
  • Install the llvm-gcc4.2 front end if you intend to compile C or C++:
    1. cd where-you-want-the-C-front-end-to-live
    2. -
    3. gunzip --stdout cfrontend.platform.tar.gz | tar -xvf - +
    4. gunzip --stdout llvm-gcc.platform.tar.gz | tar -xvf -
    5. -
    6. cd cfrontend/platform
      - ./fixheaders
    7. -
    8. Add the cfrontend's "bin" directory to your PATH variable
    9. + +
    10. Add llvm-gcc's "bin" directory to your PATH variable.
  • Get the LLVM Source Code