Changeset a243b36b


Ignore:
Timestamp:
09/29/2022 11:12:18 AM (19 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
ea9263c
Parents:
aa9ade1
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • part3intro/toolchaintechnotes.xml

    raa9ade1 ra243b36b  
    147147    <note>
    148148      <para>Almost all the build systems use names of the form
    149       cpu-vendor-kernel-os, referred to as the machine triplet. An astute
     149      cpu-vendor-kernel-os, referred to as the machine triplet. The vendor
     150      field is sometimes omitted. An astute
    150151      reader may wonder why a <quote>triplet</quote> refers to a four component
    151152      name. The reason is historical: initially, three component names were enough
     
    160161      system it will be <emphasis>x86_64-pc-linux-gnu</emphasis>. On most
    161162      Linux systems the even simpler <command>gcc -dumpmachine</command> command
    162       will give you the same information.</para>
     163      will give you the similar information.</para>
    163164
    164165      <para>You should also be aware of the name of the platform's dynamic linker, often
Note: See TracChangeset for help on using the changeset viewer.