Target Triplet: Difference between revisions

m
Bot: Replace deprecated source tag with syntaxhighlight
[unchecked revision][unchecked revision]
(Add aarch64)
m (Bot: Replace deprecated source tag with syntaxhighlight)
 
(One intermediate revision by one other user not shown)
Line 1:
Target Triplets describe a platform on which code runs and are a core concept in the GNU build system. They contain three fields: the name of the CPU family/model, the vendor, and the operating system name. You can view the unambiguous target triplet for your current system by running:
 
<sourcesyntaxhighlight lang="bash">
gcc -dumpmachine
</syntaxhighlight>
</source>
 
== Structure ==
Line 55:
arm-none-eabi
aarch64-none-elf
riscv64-none-elf
 
These are bare targets meant for freestanding programs (bootloaders and kernels) that don't have a user-space.