- Timestamp:
- 07/15/2019 01:56:52 AM (5 years ago)
- 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
- Location:
- chapter06
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/bc.xml
r3333b64 r12a27da7 41 41 <sect2 role="installation"> 42 42 <title>Installation of Bc</title> 43 43 <!-- 44 44 <para>First, change an internal script to use <command>sed</command> instead 45 45 of <command>ed</command>:</para> … … 70 70 71 71 <screen><userinput remap="pre">sed -i -e '/flex/s/as_fn_error/: ;; # &/' configure</userinput></screen> 72 72 --> 73 73 <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> 79 81 80 82 <variablelist> 81 83 <title>The meaning of the configure options:</title> 82 84 <!-- 83 85 <varlistentry> 84 <term><parameter>- -with-readline</parameter></term>86 <term><parameter>- -with-readline</parameter></term> 85 87 <listitem> 86 88 <para>This option tells Bc to use the <filename … … 90 92 </listitem> 91 93 </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> 92 101 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> 93 109 </variablelist> 94 110 … … 96 112 97 113 <screen><userinput remap="make">make</userinput></screen> 98 114 <!-- 99 115 <para>To test bc, run the commands below. There is quite a bit of output, 100 116 so you may want to redirect it to a file. There are a very small percentage … … 103 119 104 120 <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 105 127 106 128 <para>Install the package:</para> -
chapter06/binutils.xml
r3333b64 r12a27da7 57 57 <screen><computeroutput>The system has no more ptys. 58 58 Ask your system administrator to create more.</computeroutput></screen> 59 60 <para>Now remove one test that prevents the tests from running 61 to completion:</para> 62 63 <screen><userinput remap="pre">sed -i '/@\tincremental_copy/d' gold/testsuite/Makefile.in</userinput></screen> 59 64 60 65 <para>The Binutils documentation recommends building Binutils … … 153 158 <screen><userinput remap="test">make -k check</userinput></screen> 154 159 155 <para>One test, debug_msg.sh, is known to fail.</para> 160 <para>The PC-relative offset test and 161 the debug_msg.sh test may fail in the LFS environment.</para> 156 162 157 163 <para>Install the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.