summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit125939cbf781b770349f5378cd8091b2c0ae682e (patch)
tree43f2295fdd0287e28e4c2f2d6cb4d4af9e793062 /llvm/docs/FAQ.rst
parentbe230b8fdb5e9fb33a79538880eb199550e82fa5 (diff)
downloadbcm5719-llvm-125939cbf781b770349f5378cd8091b2c0ae682e.tar.gz
bcm5719-llvm-125939cbf781b770349f5378cd8091b2c0ae682e.zip
Documentation: use a 'console' highlighter for terminal output examples. This
gives a nicer output than 'bash'. llvm-svn: 169979
Diffstat (limited to 'llvm/docs/FAQ.rst')
-rw-r--r--llvm/docs/FAQ.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/docs/FAQ.rst b/llvm/docs/FAQ.rst
index b0e3ca04569..67e8d0b27b2 100644
--- a/llvm/docs/FAQ.rst
+++ b/llvm/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`
OpenPOWER on IntegriCloud