Changeset 9c43803 for chapter08/gcc.xml


Ignore:
Timestamp:
03/04/2022 07:03:19 PM (2 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, 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:
06aa05d, e6589bc
Parents:
cc2c231
Message:

gcc: use $(gcc -dumpmachine) instead of *linux-gnu

It's consistent with other commands in the same page, and also helpful
for porting to targets with different triplets (-musl or -gnuabi64).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/gcc.xml

    rcc2c231 r9c43803  
    175175
    176176<screen><userinput remap="install">chown -v -R root:root \
    177     /usr/lib/gcc/*linux-gnu/&gcc-version;/include{,-fixed}</userinput></screen>
     177    /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include{,-fixed}</userinput></screen>
    178178
    179179    <para>Create a symlink required by the <ulink
Note: See TracChangeset for help on using the changeset viewer.