Changeset e909a1eb for chapter08/bc.xml


Ignore:
Timestamp:
06/22/2022 07:16:03 AM (23 months 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:
0b0fa07
Parents:
c500323
git-author:
Xi Ruoyao <xry111@…> (06/22/2022 07:12:06 AM)
git-committer:
Xi Ruoyao <xry111@…> (06/22/2022 07:16:03 AM)
Message:

bc: enable readline

Using readline can improve line editing feature of bc, but it's not
enabled by default.

As readline is already installed before bc, let's pick up this
improvement with no cost.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/bc.xml

    rc500323 re909a1eb  
    4444    <para>Prepare Bc for compilation:</para>
    4545
    46 <screen><userinput remap="configure">CC=gcc ./configure --prefix=/usr -G -O3</userinput></screen>
     46<screen><userinput remap="configure">CC=gcc ./configure --prefix=/usr -G -O3 -r</userinput></screen>
    4747
    4848    <variablelist>
     
    5757
    5858      <varlistentry>
     59        <term><parameter>-G</parameter></term>
     60        <listitem>
     61          <para>Omit parts of the test suite that won't work
     62          without a GNU bc present.</para>
     63        </listitem>
     64      </varlistentry>
     65
     66      <varlistentry>
    5967        <term><parameter>-O3</parameter></term>
    6068        <listitem>
     
    6472
    6573      <varlistentry>
    66         <term><parameter>-G</parameter></term>
     74        <term><parameter>-r</parameter></term>
    6775        <listitem>
    68           <para>Omit  parts of the test suite that won't work
    69           without a GNU bc present.</para>
     76          <para>Enable the use of <application>Readline</application> to
     77          improve the line editing feature of bc.</para>
    7078        </listitem>
    7179      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.