summaryrefslogtreecommitdiff
path: root/docs/FAQ.rst
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-12-12 13:56:37 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-12-12 13:56:37 +0000
commit527036d5ff4bcb1afe6e85cfab9a3d85dcc5db7b (patch)
tree685476065491ad10b9b6683f6a2425c35f966734 /docs/FAQ.rst
parentbd85f1004d65552af9ff66118946851c7d7cd88f (diff)
downloadllvm-527036d5ff4bcb1afe6e85cfab9a3d85dcc5db7b.tar.gz
llvm-527036d5ff4bcb1afe6e85cfab9a3d85dcc5db7b.tar.bz2
llvm-527036d5ff4bcb1afe6e85cfab9a3d85dcc5db7b.tar.xz
Documentation: use a 'console' highlighter for terminal output examples. This
gives a nicer output than 'bash'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169979 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/FAQ.rst')
-rw-r--r--docs/FAQ.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/FAQ.rst b/docs/FAQ.rst
index b0e3ca0456..67e8d0b27b 100644
--- a/docs/FAQ.rst
+++ b/docs/FAQ.rst
@@ -79,7 +79,7 @@ grabbing the wrong linker/assembler/etc, there are two ways to fix it:
#. Run ``configure`` with an alternative ``PATH`` that is correct. In a
Bourne compatible shell, the syntax would be:
-.. code-block:: bash
+.. code-block:: console
% PATH=[the path without the bad program] ./configure ...
@@ -106,7 +106,7 @@ I've modified a Makefile in my source tree, but my build tree keeps using the ol
If the Makefile already exists in your object tree, you can just run the
following command in the top level directory of your object tree:
-.. code-block:: bash
+.. code-block:: console
% ./config.status <relative path to Makefile>;
@@ -133,13 +133,13 @@ This is most likely occurring because you built a profile or release
For example, if you built LLVM with the command:
-.. code-block:: bash
+.. code-block:: console
% gmake ENABLE_PROFILING=1
...then you must run the tests with the following commands:
-.. code-block:: bash
+.. code-block:: console
% cd llvm/test
% gmake ENABLE_PROFILING=1
@@ -175,17 +175,17 @@ After Subversion update, rebuilding gives the error "No rule to make target".
-----------------------------------------------------------------------------
If the error is of the form:
-.. code-block:: bash
+.. code-block:: console
gmake[2]: *** No rule to make target `/path/to/somefile',
- needed by `/path/to/another/file.d'.
+ needed by `/path/to/another/file.d'.
Stop.
This may occur anytime files are moved within the Subversion repository or
removed entirely. In this case, the best solution is to erase all ``.d``
files, which list dependencies for source files, and rebuild:
-.. code-block:: bash
+.. code-block:: console
% cd $LLVM_OBJ_DIR
% rm -f `find . -name \*\.d`