summaryrefslogtreecommitdiff
path: root/docs/CrossCompilation.rst
diff options
context:
space:
mode:
authorFlorian Hahn <florian.hahn@arm.com>2016-12-05 22:52:20 +0000
committerFlorian Hahn <florian.hahn@arm.com>2016-12-05 22:52:20 +0000
commitda013e4587afd58526c341bb94213dfb08eda1e8 (patch)
tree27658a81df98c2ba6bc9f04c3ea3a2fc6707111e /docs/CrossCompilation.rst
parente2bb4a633867c755943baa69ffa20ccef36045d0 (diff)
downloadclang-da013e4587afd58526c341bb94213dfb08eda1e8.tar.gz
[docs] Use x86_64 and i386 instead of x86 as arch for triples.
Summary: x86 is not a valid arch for target triples, but x86_64 and i386 are. Reviewers: rengolin, silvas Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D26960 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288723 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CrossCompilation.rst')
-rw-r--r--docs/CrossCompilation.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/CrossCompilation.rst b/docs/CrossCompilation.rst
index c07bc21a43..5e1253ddf8 100644
--- a/docs/CrossCompilation.rst
+++ b/docs/CrossCompilation.rst
@@ -78,14 +78,14 @@ go ahead, creating code for the host platform, which will break later
on when assembling or linking.
The triple has the general format ``<arch><sub>-<vendor>-<sys>-<abi>``, where:
- * ``arch`` = ``x86``, ``arm``, ``thumb``, ``mips``, etc.
+ * ``arch`` = ``x86_64``, ``i386``, ``arm``, ``thumb``, ``mips``, etc.
* ``sub`` = for ex. on ARM: ``v5``, ``v6m``, ``v7a``, ``v7m``, etc.
* ``vendor`` = ``pc``, ``apple``, ``nvidia``, ``ibm``, etc.
* ``sys`` = ``none``, ``linux``, ``win32``, ``darwin``, ``cuda``, etc.
* ``abi`` = ``eabi``, ``gnu``, ``android``, ``macho``, ``elf``, etc.
The sub-architecture options are available for their own architectures,
-of course, so "x86v7a" doesn't make sense. The vendor needs to be
+of course, so "x86v7a" doesn't make sense. The vendor needs to be
specified only if there's a relevant change, for instance between PC
and Apple. Most of the time it can be omitted (and Unknown)
will be assumed, which sets the defaults for the specified architecture.