From a243b36b8b27be1d84f84849a3eaf6e63c45534a Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Thu, 29 Sep 2022 19:12:18 +0800 Subject: 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. --- part3intro/toolchaintechnotes.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'part3intro') 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 @@ 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 triplet 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 i686-pc-linux-gnu. On a 64-bit system it will be x86_64-pc-linux-gnu. On most Linux systems the even simpler gcc -dumpmachine command - will give you the same information. + will give you the similar information. 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 -- cgit v1.2.3-54-g00ecf