mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 13:07:50 +00:00
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.
This commit is contained in:
parent
aa9ade1fba
commit
a243b36b8b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user