Changeset e8afce4


Ignore:
Timestamp:
06/24/2022 02:07:01 PM (22 months ago)
Author:
William Harrington <kb0iic@…>
Branches:
arm
Children:
c07d5a87
Parents:
4a01726
git-author:
Xi Ruoyao <xry111@…> (06/22/2022 07:12:06 AM)
git-committer:
William Harrington <kb0iic@…> (06/24/2022 02:07:01 PM)
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.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • appendices/dependencies.xml

    r4a01726 re8afce4  
    245245        <segtitle>&dependencies;</segtitle>
    246246        <seglistitem>
    247           <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, and Make</seg>
     247          <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, and Readline</seg>
    248248        </seglistitem>
    249249      </segmentedlist>
     
    26532653        <segtitle>&before;</segtitle>
    26542654        <seglistitem>
    2655           <seg>Bash and Gawk</seg>
     2655          <seg>Bash, Bc, and Gawk</seg>
    26562656        </seglistitem>
    26572657      </segmentedlist>
  • chapter08/bc.xml

    r4a01726 re8afce4  
    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.