toolchaintechnotes: highlight why the example (ubuntu vs android) needs "os" field

This commit is contained in:
Xi Ruoyao 2022-09-30 16:22:20 +08:00
parent e18ba697eb
commit 77b46db0a8
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -158,8 +158,10 @@
two systems can share the same kernel but still be too different to
use a same triplet for them. For example, an Android running on a
mobile phone is completely different from Ubuntu running on an ARM64
server. Without an emulation layer, you cannot run an executable for
the server on the mobile phone or vice versa. So the
server, despite they are running on the same type of CPU (ARM64) and
using the same kernel (Linux).
Without an emulation layer, you cannot run an
executable for the server on the mobile phone or vice versa. So the
<quote>system</quote> field is separated into kernel and os fields to
designate these systems unambiguously. For our example, the Android
system is designated <literal>aarch64-unknown-linux-android</literal>,