From: Chris Lattner Date: Tue, 13 Aug 2002 21:10:30 +0000 (+0000) Subject: Updated GettingStarted guide to be accurate now that binaries are in /shared X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=cefbd32637cdd1c7738ee8331c4242d924e983f4;p=oota-llvm.git Updated GettingStarted guide to be accurate now that binaries are in /shared git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3305 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/GettingStarted.html b/docs/GettingStarted.html index 96bd877dd0e..c0ea286d98c 100644 --- a/docs/GettingStarted.html +++ b/docs/GettingStarted.html @@ -13,6 +13,7 @@
  • Getting started with LLVM
    1. Checkout LLVM from CVS +
    2. Access to /shared
    3. Set up your environment
    4. Compiling the Source Code
    @@ -55,7 +56,25 @@

    This will create an 'llvm' directory in your home directory and fully populate it with the source code for LLVM.

    - + + + +

    Access to /shared

    + + + By default, LLVM is configured to send all compiled files into the + /shared/[yourloginname]/ directory. The idea is that this + directory is local to the machine you're working on, so the huge libraries + and .o files you will be compiling will not have to be sent over + NFS. If you are in a situation where this setup is correct, you don't have + to do anything. If you don't have a /shared directory, you will + have to make a couple of modifications to your setup.

    + + The first modification is that you need to enable the "BUILD_ROOT = + . line in the top level Makefile.common. This will instruct + LLVM to build into the current directory tree instead of + /shared.

    +

    Set up your environment

    @@ -72,16 +91,21 @@ alias llvmgcc /home/vadve/lattner/cvs/gcc_install/bin/gcc # Make the LLVM tools easy to use... - setenv PATH ~/llvm/tools/Debug:${PATH} + setenv PATH /shared/[yourloginname]/llvm/tools/Debug:${PATH}

    The C compiler is not included in the CVS tree you just checked out, so we just point to the cannonical location, and access it with the llvmgcc command. The rest of the LLVM tools - will be built into the llvm/tools/Debug directory inside of the - sourcebase. Adding them to your path will make it much easier to use - them.

    + will be built into the llvm/tools/Debug directory. If you do not + have access to /shared, use this line instead:

    + +
    +       setenv PATH ~/llvm/tools/Debug:${PATH}
    +    
    + Adding these two lines to your path will make it much easier to use the LLVM + tools.

    @@ -101,10 +125,9 @@ .so, .a) files into a /shared/[your login name]/... directory, which is supposed to be on a disk local to the current machine. If you get an error talking about a /shared - directory, and you find out that it doesn't exist, try enabling the - "BUILD_ROOT = . line in the top level Makefile.common that - will change LLVM to build into the current directory instead of - /shared.

    + directory, follow the instructions in the section about + /shared.

    + @@ -363,7 +386,7 @@ -Last modified: Fri Aug 9 11:13:34 CDT 2002 +Last modified: Tue Aug 13 16:09:25 CDT 2002