llvm.org GIT mirror llvm / b241283
Clean up docs references to './configure' in preparation for deprecating in-source builds http://reviews.llvm.org/D8787 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236144 91177308-0d34-0410-b5e6-96231b3b80d8 Jonathan Roelofs 4 years ago
5 changed file(s) with 10 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
104104 ],
105105 [
106106 AC_MSG_RESULT([no])
107 AC_MSG_ERROR([Selected compiler could not find or parse C++ standard library headers. Rerun with CC=c-compiler CXX=c++-compiler ./configure ...])
107 AC_MSG_ERROR([Selected compiler could not find or parse C++ standard library headers. Rerun with CC=c-compiler CXX=c++-compiler LLVM_SRC_DIR/configure ...])
108108 ])
109109 AC_LANG_POP([C++])
110110 fi
36043604
36053605 { echo "$as_me:$LINENO: result: no" >&5
36063606 echo "${ECHO_T}no" >&6; }
3607 { { echo "$as_me:$LINENO: error: Selected compiler could not find or parse C++ standard library headers. Rerun with CC=c-compiler CXX=c++-compiler ./configure ..." >&5
3608 echo "$as_me: error: Selected compiler could not find or parse C++ standard library headers. Rerun with CC=c-compiler CXX=c++-compiler ./configure ..." >&2;}
3607 { { echo "$as_me:$LINENO: error: Selected compiler could not find or parse C++ standard library headers. Rerun with CC=c-compiler CXX=c++-compiler LLVM_SRC_DIR/configure ..." >&5
3608 echo "$as_me: error: Selected compiler could not find or parse C++ standard library headers. Rerun with CC=c-compiler CXX=c++-compiler LLVM_SRC_DIR/configure ..." >&2;}
36093609 { (exit 1); exit 1; }; }
36103610
36113611 fi
120120
121121 .. code-block:: console
122122
123 % SRC_ROOT/configure --prefix=/install/path [other options]
123 % $LLVM_SRC_DIR/configure --prefix=/install/path [other options]
124124
125125 Compiling the LLVM Suite Source Code
126126 ------------------------------------
186186 ``gmake install``
187187
188188 Installs LLVM header files, libraries, tools, and documentation in a hierarchy
189 under ``$PREFIX``, specified with ``./configure --prefix=[dir]``, which
189 under ``$PREFIX``, specified with ``$LLVM_SRC_DIR/configure --prefix=[dir]``, which
190190 defaults to ``/usr/local``.
191191
192192 ``gmake -C runtime install-bytecode``
239239 system (which uses the easy-to-read and easy-to-write
240240 `reStructuredText `_ plaintext markup
241241 language).
242 The generated documentation is built in the ``SRC_ROOT/docs`` directory using
242 The generated documentation is built in the ``$LLVM_SRC_DIR/docs`` directory using
243243 a special makefile.
244244 For instructions on how to install Sphinx, see
245245 `Sphinx Introduction for LLVM Developers
249249
250250 .. code-block:: console
251251
252 $ cd SRC_ROOT/docs
252 $ cd $LLVM_SRC_DIR/docs
253253 $ make -f Makefile.sphinx
254254
255255 This creates a ``_build/html`` sub-directory with all of the HTML files, not
295295
296296 .. code-block:: console
297297
298 % SRC_ROOT/configure
298 % $LLVM_SRC_DIR/configure
299299
300300 The LLVM build will place files underneath *OBJ_ROOT* in directories named after
301301 the build type:
101101
102102 .. code-block:: console
103103
104 % PATH=[the path without the bad program] ./configure ...
104 % PATH=[the path without the bad program] $LLVM_SRC_DIR/configure ...
105105
106106 This is still somewhat inconvenient, but it allows ``configure`` to do its
107107 work without having to adjust your ``PATH`` permanently.
3939
4040 .. code-block:: bash
4141
42 ./configure --build=armv7l-unknown-linux-gnueabihf \
42 ../$LLVM_SRC_DIR/configure --build=armv7l-unknown-linux-gnueabihf \
4343 --host=armv7l-unknown-linux-gnueabihf \
4444 --target=armv7l-unknown-linux-gnueabihf --with-cpu=cortex-a9 \
4545 --with-float=hard --with-abi=aapcs-vfp --with-fpu=neon \