Updated for the 1.1 pre-release.
authorJohn Criswell <criswell@uiuc.edu>
Fri, 8 Aug 2003 22:36:30 +0000 (22:36 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Fri, 8 Aug 2003 22:36:30 +0000 (22:36 +0000)
Attempted to explain how OBJ_ROOT=. and OBJ_ROOT=`pwd` are not the same thing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7703 91177308-0d34-0410-b5e6-96231b3b80d8

docs/GettingStarted.html

index 0aaecb145cc68b206208190d88ed5416e4301770..c329a69052902a7857a64a8594563bc70b347ff6 100644 (file)
                object files, libraries, and executables should be placed.
         If this is set to <tt>.</tt>, then the object files will be placed
         within the source code tree.  If left unspecified, the default value is
-        <tt>.</tt>.
+        the following:
+        <ul>
+                <li>
+                If the USER environment variable is specified and the directory
+                <tt>/localhome/$USER</tt> exists, then the default value is
+                <tt>/localhome/$USER</tt>.
+
+                <li>
+                Otherwise, the default value is <tt>.</tt>.
+        </ul>
                (See the Section on <a href=#objfiles>
                The Location of LLVM Object Files</a>
                for more information.)
     <p>
     If <i>OBJ_ROOT</i> is specified, then the build system will create a
     directory tree underneath it that resembles the source code's pathname
-    relative to your home directory.
+    relative to your home directory (unless <i>OBJ_ROOT</i> is set to
+    <tt>.</tt>, in which case object files are placed within the LLVM source
+    tree).
+    </p>
+
+    <p>
+    Note that
+    <i>--with-objroot</i>=<tt>.</tt>
+    and
+    <i>--with-objroot</i>=<tt>`pwd`</tt>
+    are not the same thing.  The former will simply place object files within
+    the source tree, while the latter will set the location of object files
+    using the source tree's relative path from the home directory.
     </p>
 
     <p>