Skip to content

Commit da013e4

Browse files
committed
[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
1 parent e2bb4a6 commit da013e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/CrossCompilation.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ go ahead, creating code for the host platform, which will break later
7878
on when assembling or linking.
7979

8080
The triple has the general format ``<arch><sub>-<vendor>-<sys>-<abi>``, where:
81-
* ``arch`` = ``x86``, ``arm``, ``thumb``, ``mips``, etc.
81+
* ``arch`` = ``x86_64``, ``i386``, ``arm``, ``thumb``, ``mips``, etc.
8282
* ``sub`` = for ex. on ARM: ``v5``, ``v6m``, ``v7a``, ``v7m``, etc.
8383
* ``vendor`` = ``pc``, ``apple``, ``nvidia``, ``ibm``, etc.
8484
* ``sys`` = ``none``, ``linux``, ``win32``, ``darwin``, ``cuda``, etc.
8585
* ``abi`` = ``eabi``, ``gnu``, ``android``, ``macho``, ``elf``, etc.
8686

8787
The sub-architecture options are available for their own architectures,
88-
of course, so "x86v7a" doesn't make sense. The vendor needs to be
88+
of course, so "x86v7a" doesn't make sense. The vendor needs to be
8989
specified only if there's a relevant change, for instance between PC
9090
and Apple. Most of the time it can be omitted (and Unknown)
9191
will be assumed, which sets the defaults for the specified architecture.

0 commit comments

Comments
 (0)