Changeset 7546d8b for chapter02


Ignore:
Timestamp:
11/21/2023 12:45:26 AM (11 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
e49e2ea
Parents:
2df066c9 (diff), 01247ac (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/clfs-ng

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter02/hostreqs.xml

    r2df066c9 r7546d8b  
    6565    </listitem>
    6666
    67     <listitem>
    68       <para><emphasis role="strong">Coreutils-7.0</emphasis></para>
     67    <!-- In Coreutils-8.1 the nproc program is added.  -->
     68    <listitem>
     69      <para><emphasis role="strong">Coreutils-8.1</emphasis></para>
    6970    </listitem>
    7071
     
    8384
    8485    <listitem>
    85       <para><emphasis role="strong">GCC-5.1</emphasis> including the C++
     86      <!-- Pass 1 GCC FTBFS with GCC-5.1 because of
     87           https://gcc.gnu.org/PR65801. -->
     88      <para><emphasis role="strong">GCC-5.2</emphasis> including the C++
    8689      compiler, <command>g++</command> (Versions greater than &gcc-version; are
    8790      not recommended as they have not been tested). C and C++ standard
     
    186189}
    187190
    188 # Coreutils first because-sort needs Coreutils >= 7.0
    189 ver_check Coreutils      sort     7.0 || bail "--version-sort unsupported"
     191# Coreutils first because --version-sort needs Coreutils >= 7.0
     192ver_check Coreutils      sort     8.1 || bail "Coreutils too old, stop"
    190193ver_check Bash           bash     3.2
    191194ver_check Bc             bc       1.07.0
     
    195198ver_check Findutils      find     4.2.31
    196199ver_check Gawk           gawk     4.0.1
    197 ver_check GCC            gcc      5.1
    198 ver_check "GCC (C++)"    g++      5.1
     200ver_check GCC            gcc      5.2
     201ver_check "GCC (C++)"    g++      5.2
    199202ver_check Grep           grep     2.5.1a
    200203ver_check Gzip           gzip     1.3.12
     
    223226then echo "OK:    g++ works";
    224227else echo "ERROR: g++ does NOT work"; fi
    225 rm -f a.out</literal>
     228rm -f a.out
     229
     230if [ "$(nproc)" = "" ]; then
     231   echo "ERROR: nproc is not available or it produces empty output"
     232else
     233   echo "OK: nproc reports $(nproc) logical cores are available"
     234fi</literal>
    226235EOF
    227236
Note: See TracChangeset for help on using the changeset viewer.