Be a little more explicit about how to configure LLVM with the --prefix
authorReid Spencer <rspencer@reidspencer.com>
Wed, 1 Dec 2004 05:15:44 +0000 (05:15 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 1 Dec 2004 05:15:44 +0000 (05:15 +0000)
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

index 926e7ff41f483d05245bda978e1ba09410efe4c6..de53e0189eaac7bdcd409cae94b153092170b832 100644 (file)
@@ -94,10 +94,15 @@ invalid code.  Instead, use the system assembler and linker.
 <li><p>Configure and build the LLVM libraries and tools using:</p>
 <pre>
  % cd llvm
- % ./configure [options...]
+ % ./configure --prefix=/some/path/you/can/install/to [options...]
  % gmake tools-only
 </pre>
-    <p>This will build all of the LLVM tools and libraries.</p></li>
+  <p>This will build all of the LLVM tools and libraries. The <tt>--prefix</tt> 
+  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.
+  <tt>--prefix=/home/user/llvm</tt>).</p>
+</li>
 
 <li><p>Add the directory containing the tools to your PATH.</p>
 <pre>