Changeset 0445a3d for chapter05/gcc-pass2.xml
- Timestamp:
- 09/18/2007 09:11:00 PM (17 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, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 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:
- e1ad8a8
- Parents:
- a7a0238
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass2.xml
ra7a0238 r0445a3d 54 54 performing a quick test:</para> 55 55 56 <screen><userinput >expect -c "spawn ls"</userinput></screen>56 <screen><userinput remap="test">expect -c "spawn ls"</userinput></screen> 57 57 58 58 <para>The response might be:</para> … … 78 78 be suppressed by issuing the following commands:</para> 79 79 80 <screen><userinput >cp -v gcc/Makefile.in{,.orig}80 <screen><userinput remap="pre">cp -v gcc/Makefile.in{,.orig} 81 81 sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig > gcc/Makefile.in</userinput></screen> 82 82 … … 87 87 builds:</para> 88 88 89 <screen><userinput >cp -v gcc/Makefile.in{,.tmp}89 <screen><userinput remap="pre">cp -v gcc/Makefile.in{,.tmp} 90 90 sed 's/^XCFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in.tmp \ 91 91 > gcc/Makefile.in</userinput></screen> … … 100 100 against the new Glibc. Issue:</para> 101 101 102 <screen><userinput >for file in $(find gcc/config -name linux64.h -o -name linux.h)102 <screen><userinput remap="pre">for file in $(find gcc/config -name linux64.h -o -name linux.h) 103 103 do 104 104 cp -uv $file{,.orig} … … 127 127 <para>Create a separate build directory again:</para> 128 128 129 <screen><userinput >mkdir -v ../gcc-build129 <screen><userinput remap="pre">mkdir -v ../gcc-build 130 130 cd ../gcc-build</userinput></screen> 131 131 … … 135 135 <para>Now prepare GCC for compilation:</para> 136 136 137 <screen><userinput >../gcc-&gcc-version;/configure --prefix=/tools \137 <screen><userinput remap="configure">../gcc-&gcc-version;/configure --prefix=/tools \ 138 138 --with-local-prefix=/tools --enable-clocale=gnu \ 139 139 --enable-shared --enable-threads=posix \ … … 207 207 <para>Compile the package:</para> 208 208 209 <screen><userinput >make</userinput></screen>209 <screen><userinput remap="make">make</userinput></screen> 210 210 211 211 <para>There is no need to use the <parameter>bootstrap</parameter> target … … 217 217 To run the GCC test suite anyway, use the following command:</para> 218 218 219 <screen><userinput >make -k check</userinput></screen>219 <screen><userinput remap="test">make -k check</userinput></screen> 220 220 221 221 <para>The <parameter>-k</parameter> flag is used to make the test suite run … … 229 229 <para>Install the package:</para> 230 230 231 <screen><userinput >make install</userinput></screen>231 <screen><userinput remap="install">make install</userinput></screen> 232 232 233 233 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note:
See TracChangeset
for help on using the changeset viewer.