Changeset 12a27da7 for chapter06/bc.xml


Ignore:
Timestamp:
07/15/2019 01:56:52 AM (5 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
94801bf
Parents:
3333b64
Message:

Fix testing of binutils-2.32 gold linker.
Update to tzdata-2019b.
Update to python3-3.7.4.
Update to meson-0.51.1.
Update to iproute2-5.2.0.
Update to grub-2.04.
Update to linux-5.2.1.
Update to bc-2.1.0.
Update to bzip2-1.0.8.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11639 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/bc.xml

    r3333b64 r12a27da7  
    4141  <sect2 role="installation">
    4242    <title>Installation of Bc</title>
    43 
     43<!--
    4444    <para>First, change an internal script to use <command>sed</command> instead
    4545    of <command>ed</command>:</para>
     
    7070
    7171<screen><userinput remap="pre">sed -i -e '/flex/s/as_fn_error/: ;; # &amp;/' configure</userinput></screen>
    72 
     72-->
    7373    <para>Prepare Bc for compilation:</para>
    74 
    75 <screen><userinput remap="configure">./configure --prefix=/usr           \
    76             --with-readline         \
    77             --mandir=/usr/share/man \
    78             --infodir=/usr/share/info</userinput></screen>
     74<!--
     75<screen><userinput remap="configure">./configure - -prefix=/usr           \
     76            - -with-readline         \
     77            - -mandir=/usr/share/man \
     78            - -infodir=/usr/share/info</userinput></screen>
     79-->
     80<screen><userinput remap="configure">PREFIX=/usr CC=gcc CFLAGS="-std=c99" ./configure.sh -G -O3</userinput></screen>
    7981
    8082    <variablelist>
    8183      <title>The meaning of the configure options:</title>
    82 
     84<!--
    8385      <varlistentry>
    84         <term><parameter>--with-readline</parameter></term>
     86        <term><parameter>- -with-readline</parameter></term>
    8587        <listitem>
    8688          <para>This option tells Bc to use the <filename
     
    9092        </listitem>
    9193      </varlistentry>
     94-->
     95      <varlistentry>
     96        <term><parameter>CC=gcc CFLAGS="-std=c99"</parameter></term>
     97        <listitem>
     98          <para>These parameters specify the compiler and C standard to use.</para>
     99        </listitem>
     100      </varlistentry>
    92101
     102      <varlistentry>
     103        <term><parameter>-G -O3</parameter></term>
     104        <listitem>
     105          <para>These parameters specify the optimization to use. Debug symbols
     106          will be retained.</para>
     107        </listitem>
     108      </varlistentry>
    93109    </variablelist>
    94110
     
    96112
    97113<screen><userinput remap="make">make</userinput></screen>
    98 
     114<!--
    99115    <para>To test bc, run the commands below. There is quite a bit of output,
    100116    so you may want to redirect it to a file. There are a very small percentage
     
    103119
    104120<screen><userinput remap="test">echo "quit" | ./bc/bc -l Test/checklib.b</userinput></screen>
     121-->
     122
     123    <para>To test bc, run:</para>
     124
     125<screen><userinput remap="test">make test</userinput></screen>
     126
    105127
    106128    <para>Install the package:</para>
Note: See TracChangeset for help on using the changeset viewer.