aboutsummaryrefslogtreecommitdiff
path: root/docs/HowToBuildOnARM.rst
diff options
context:
space:
mode:
authorDavid Tweed <david.tweed@arm.com>2012-10-26 12:09:47 +0000
committerDavid Tweed <david.tweed@arm.com>2012-10-26 12:09:47 +0000
commit6f20194cdbe4f0884e96dbb8829f0bf87fc90871 (patch)
tree4e31b77c5827076bf66d3c5b20c250f1c2e6186b /docs/HowToBuildOnARM.rst
parent975bc072ae1d4502d0dc7ca0d218a18574108ee6 (diff)
Minor enhancement to build process notes for ARM platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166769 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/HowToBuildOnARM.rst')
-rw-r--r--docs/HowToBuildOnARM.rst17
1 files changed, 15 insertions, 2 deletions
diff --git a/docs/HowToBuildOnARM.rst b/docs/HowToBuildOnARM.rst
index 6f9ac4adc0..d786a7deda 100644
--- a/docs/HowToBuildOnARM.rst
+++ b/docs/HowToBuildOnARM.rst
@@ -27,8 +27,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
+ $ ../$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
+
+ ./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 --disable-optimized --enable-assertions