From 0b4f468bf62cbd0737a7a053d884fea9df914e37 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Wed, 1 Dec 2004 05:15:44 +0000 Subject: [PATCH] Be a little more explicit about how to configure LLVM with the --prefix option so that permissions errors don't occur if the default, /usr/local, is taken. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18401 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CFEBuildInstrs.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/CFEBuildInstrs.html b/docs/CFEBuildInstrs.html index 926e7ff41f4..de53e0189ea 100644 --- a/docs/CFEBuildInstrs.html +++ b/docs/CFEBuildInstrs.html @@ -94,10 +94,15 @@ invalid code. Instead, use the system assembler and linker.
  • Configure and build the LLVM libraries and tools using:

      % cd llvm
    - % ./configure [options...]
    + % ./configure --prefix=/some/path/you/can/install/to [options...]
      % gmake tools-only
     
    -

    This will build all of the LLVM tools and libraries.

  • +

    This will build all of the LLVM tools and libraries. The --prefix + option defaults to /usr/local (per configure standards) but unless you are a + system administrator, you probably won't be able to install LLVM there because + of permissions. Specify a path into which LLVM can be installed (e.g. + --prefix=/home/user/llvm).

    +
  • Add the directory containing the tools to your PATH.