Changeset 21ba4e3 for chapter05/gcc-pass1-inst.xml
- Timestamp:
- 10/09/2003 11:22:07 PM (21 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.0, 6.1, 6.1.1, 6.3, 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, v5_0, v5_1, v5_1_1, 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:
- 27d9bc1a
- Parents:
- 1a7aecc6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass1-inst.xml
r1a7aecc6 r21ba4e3 21 21 directory in a dedicated build directory:</para> 22 22 23 < para><screen><userinput>mkdir ../gcc-build24 cd ../gcc-build</userinput></screen> </para>23 <screen><userinput>mkdir ../gcc-build 24 cd ../gcc-build</userinput></screen> 25 25 26 26 <para>Prepare GCC to be compiled:</para> 27 27 28 < para><screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \28 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \ 29 29 --with-local-prefix=/tools \ 30 30 --disable-nls --enable-shared \ 31 --enable-languages=c</userinput></screen> </para>31 --enable-languages=c</userinput></screen> 32 32 33 33 <para>The meaning of the configure options:</para> … … 56 56 <para>Continue with compiling the package:</para> 57 57 58 < para><screen><userinput>make BOOT_LDFLAGS="-static" bootstrap</userinput></screen></para>58 <screen><userinput>make BOOT_LDFLAGS="-static" bootstrap</userinput></screen> 59 59 60 60 <para>The meaning of the make parameters:</para> … … 74 74 <para>And install the package:</para> 75 75 76 < para><screen><userinput>make install</userinput></screen></para>76 <screen><userinput>make install</userinput></screen> 77 77 78 78 <para>As a finishing touch we'll create the <filename … … 84 84 C compiler to install, as long as there's a symlink pointing to it:</para> 85 85 86 < para><screen><userinput>ln -sf gcc /tools/bin/cc</userinput></screen></para>86 <screen><userinput>ln -sf gcc /tools/bin/cc</userinput></screen> 87 87 88 88 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.