[docs] Fix some Sphinx toctree warnings.
[oota-llvm.git] / docs / HowToBuildOnARM.rst
index 6f9ac4adc058c13fe3c814b29f5a329aba6d9e49..32ae39ba688362e90368f6acf96da43a29b8df18 100644 (file)
@@ -1,11 +1,7 @@
-.. _how_to_build_on_arm:
-
 ===================================================================
 How To Build On ARM
 ===================================================================
 
-.. sectionauthor:: Wei-Ren Chen (陳韋任) <chenwj@iis.sinica.edu.tw>
-
 Introduction
 ============
 
@@ -27,8 +23,21 @@ on the ARMv6 and ARMv7 architectures and may be inapplicable to older chips.
 
 #. If you want to run ``make
    check-all`` after building LLVM/Clang, to avoid false alarms (eg, ARCMT
-   failure) please use the following configuration:
+   failure) please use at least the following configuration:
+
+   .. code-block:: bash
+
+     $ ../$LLVM_SRC_DIR/configure --with-abi=aapcs-vfp
+
+#. The most popular linaro/ubuntu OS's for ARM boards, eg, the
+   Pandaboard, have become hard-float platforms. The following set
+   of configuration options appears to be a good choice for this
+   platform:
 
    .. code-block:: bash
 
-     $ ../$LLVM_SRC_DIR/configure --with-abi=aapcs
+     ./configure --build=armv7l-unknown-linux-gnueabihf \
+     --host=armv7l-unknown-linux-gnueabihf \
+     --target=armv7l-unknown-linux-gnueabihf --with-cpu=cortex-a9 \
+     --with-float=hard --with-abi=aapcs-vfp --with-fpu=neon \
+     --enable-targets=arm --enable-optimized --enable-assertions