summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CFEBuildInstrs.html
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-01 05:15:44 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-01 05:15:44 +0000
commitf6a10fa333d1e4afd55fcf2ca12ce4b3a8edc81f (patch)
tree98bafde09a211873a7da2c30d5b81c08255fbc1d /llvm/docs/CFEBuildInstrs.html
parent2a2ebd18296eeccb88bdb9b836e76000ee249275 (diff)
downloadbcm5719-llvm-f6a10fa333d1e4afd55fcf2ca12ce4b3a8edc81f.tar.gz
bcm5719-llvm-f6a10fa333d1e4afd55fcf2ca12ce4b3a8edc81f.zip
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. llvm-svn: 18401
Diffstat (limited to 'llvm/docs/CFEBuildInstrs.html')
-rw-r--r--llvm/docs/CFEBuildInstrs.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/llvm/docs/CFEBuildInstrs.html b/llvm/docs/CFEBuildInstrs.html
index 926e7ff41f4..de53e0189ea 100644
--- a/llvm/docs/CFEBuildInstrs.html
+++ b/llvm/docs/CFEBuildInstrs.html
@@ -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>
OpenPOWER on IntegriCloud