diff options
author | Xi Ruoyao <xry111@xry111.site> | 2022-09-29 19:12:18 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2022-09-29 19:12:18 +0800 |
commit | a243b36b8b27be1d84f84849a3eaf6e63c45534a (patch) | |
tree | 34f445c76f7dddeffcc8342ceb2af3906d6bc8a5 | |
parent | aa9ade1fba5f5cbf9427b786fbb41912e6ec39cf (diff) |
toolchaintechnotes: gcc -dumpmachine is similar to config.guess, but not same
Many distros have some customized things in gcc -dumpmachine. RHEL uses
x86_64-redhat-linux-gnu, and Ubuntu uses x86_64-linux-gnu ("vendor"
field omitted). So don't use "same" here, and also mention the "vendor"
field is sometimes omitted.
-rw-r--r-- | part3intro/toolchaintechnotes.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/part3intro/toolchaintechnotes.xml b/part3intro/toolchaintechnotes.xml index 852e88b4a..86ec87928 100644 --- a/part3intro/toolchaintechnotes.xml +++ b/part3intro/toolchaintechnotes.xml @@ -146,7 +146,8 @@ <note> <para>Almost all the build systems use names of the form - cpu-vendor-kernel-os, referred to as the machine triplet. An astute + cpu-vendor-kernel-os, referred to as the machine triplet. The vendor + field is sometimes omitted. An astute reader may wonder why a <quote>triplet</quote> refers to a four component name. The reason is historical: initially, three component names were enough to designate a machine unambiguously, but as new machines and systems @@ -159,7 +160,7 @@ output will be <emphasis>i686-pc-linux-gnu</emphasis>. On a 64-bit system it will be <emphasis>x86_64-pc-linux-gnu</emphasis>. On most Linux systems the even simpler <command>gcc -dumpmachine</command> command - will give you the same information.</para> + will give you the similar information.</para> <para>You should also be aware of the name of the platform's dynamic linker, often referred to as the dynamic loader (not to be confused with the standard |