Ignore:
Timestamp:
08/08/2024 04:10:35 PM (6 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/loongarch, xry111/loongarch-12.2
Children:
993a789
Parents:
a600e72 (diff), 079ced7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/loongarch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • part3intro/toolchaintechnotes.xml

    ra600e72 r1ff846e2  
    193193      random binary from the host system by running: <userinput>readelf -l
    194194      &lt;name of binary&gt; | grep interpreter</userinput> and noting the
    195       output. The authoritative reference covering all platforms is in the
    196       <filename>shlib-versions</filename> file in the root of the glibc source
    197       tree.</para>
     195      output. The authoritative reference covering all platforms is in
     196      <ulink url='https://sourceware.org/glibc/wiki/ABIList'>a Glibc wiki
     197      page</ulink>.</para>
    198198    </note>
    199199
     
    360360    <para>Next comes glibc. The most important
    361361    considerations for building glibc are the compiler, binary tools, and
    362     kernel headers. The compiler is generally not an issue since glibc will
    363     always use the compiler relating to the <parameter>--host</parameter>
     362    kernel headers. The compiler and binary tools are generally not an issue
     363    since glibc will always those relating to the <parameter>--host</parameter>
    364364    parameter passed to its configure script; e.g., in our case, the compiler
    365     will be <command>$LFS_TGT-gcc</command>. The binary tools and kernel
    366     headers can be a bit more complicated. Therefore, we take no risks and use
    367     the available configure switches to enforce the correct selections. After
     365    will be <command>$LFS_TGT-gcc</command> and the <command>readelf</command>
     366    tool will be <command>$LFS_TGT-readelf</command>. The kernel headers can
     367    be a bit more complicated. Therefore, we take no risks and use
     368    the available configure switch to enforce the correct selection. After
    368369    the run of <command>configure</command>, check the contents of the
    369370    <filename>config.make</filename> file in the <filename
    370371    class="directory">build</filename> directory for all important details.
    371     Note the use of <parameter>CC="$LFS_TGT-gcc"</parameter> (with
    372     <envar>$LFS_TGT</envar> expanded) to control which binary tools are used
    373     and the use of the <parameter>-nostdinc</parameter> and
    374     <parameter>-isystem</parameter> flags to control the compiler's include
    375     search path. These items highlight an important aspect of the glibc
     372    These items highlight an important aspect of the glibc
    376373    package&mdash;it is very self-sufficient in terms of its build machinery,
    377374    and generally does not rely on toolchain defaults.</para>
Note: See TracChangeset for help on using the changeset viewer.