Changeset d0de26c for chapter08


Ignore:
Timestamp:
07/27/2023 05:12:50 AM (10 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.0-rc1, 12.1, 12.1-rc1, multilib, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
44674e4c
Parents:
49d402e
git-author:
Xi Ruoyao <xry111@…> (07/27/2023 05:06:49 AM)
git-committer:
Xi Ruoyao <xry111@…> (07/27/2023 05:12:50 AM)
Message:

gmp: (Optionally) use --host=none-linux-gnu for generic library

This is suggested by GCC maintainer Andrew Pinski in
https://gcc.gnu.org/PR110789. It's easier than what we've suggested
in the book.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/gmp.xml

    r49d402e rd0de26c  
    5555      the host processor.  If libraries suitable for processors less
    5656      capable than the host's CPU are desired, generic libraries can be
    57       created by running the following:
     57      created by appending the <option>--host=none-linux-gnu</option> option
     58      to the <command>configure</command> command.</para>
    5859
    59 <screen role="nodump"><userinput>cp -v configfsf.guess config.guess
    60 cp -v configfsf.sub   config.sub</userinput></screen></para>
     60      <!-- To editors: the configure script says "the none host is obsolete,
     61           use - -disable-assembly", but don't believe it: with the latter
     62           CFLAGS is still automatically set to -march=something.  -->
    6163    </note>
    6264
     
    107109    applications using the gmp libraries with the message "Illegal
    108110    instruction".  In this case, gmp should be reconfigured with the option
    109     --build=x86_64-pc-linux-gnu and rebuilt.</para></caution>
     111    <option>--host=none-linux-gnu</option> and rebuilt.</para></caution>
    110112
    111113    <para>Ensure that all 197 tests in the test suite passed.
Note: See TracChangeset for help on using the changeset viewer.