Changeset 673b0d8 for chapter06/gcc-2953.xml
- Timestamp:
- 05/03/2004 10:59:46 AM (20 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_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:
- 0c43171, 2ec64b3, a4a675f
- Parents:
- 287ea55
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/gcc-2953.xml
r287ea55 r673b0d8 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ 3 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 %general-entities; 5 ]> 1 6 <sect1 id="ch-system-gcc-2953"> 2 <title> Installing GCC-2.95.3</title>3 <?dbhtml filename="gcc-2953.html" dir="chapter06"?>7 <title>GCC-&gcc-2953-version;</title> 8 <?dbhtml filename="gcc-2953.html"?> 4 9 5 <screen>&buildtime; &gcc-2953-time; 6 &diskspace; &gcc-2953-compsize;</screen> 10 <indexterm zone="ch-system-gcc-2953"><primary sortas="a-GCC-2953">GCC-2953</primary></indexterm> 7 11 8 <sect2><title></title> 9 <literallayout>Official download location for GCC-2 (&gcc-2953-version;): 10 <ulink url="ftp://ftp.gnu.org/pub/gnu/gcc/"/> 11 And for the GCC-2 Patch: 12 <ulink url="&patches-root;&gcc-2953-patch;"/> 13 And for the GCC-2 No-Fixincludes Patch: 14 <ulink url="&patches-root;&gcc-2953-no-fixinc-patch;"/> 15 And for the GCC-2 Return-Type Patch: 16 <ulink url="&patches-root;&gcc-2953-returntype-fix-patch;"/></literallayout> 17 </sect2> 18 19 <sect2><title> </title><para> </para></sect2> 12 <screen>&buildtime; 1.5 SBU 13 &buildtime; 130 MB</screen> 20 14 21 15 <sect2> … … 25 19 default optimization flags (including the -march and -mcpu options). 26 20 Therefore, if you have defined any environment variables that override 27 default optimizations, such as CFLAGS and CXXFLAGS, we recommend un setting21 default optimizations, such as CFLAGS and CXXFLAGS, we recommend un-setting 28 22 or modifying them when building GCC.</para> 29 23 30 24 <para>This is an older release of GCC which we are going to install for the 31 purpose of compiling the Linux kernel in <xref linkend="chapter- mixture"/>. This32 version is recommended 33 by the kernel developers when you need absolute stability. Later versions of 34 GCC have not received as much testing for Linux kernel compilation. Using a 35 later version is likely to work, however, we recommend adhering to the kernel 36 developer's advice and using the version hereto compile your kernel.</para>25 purpose of compiling the Linux kernel in <xref linkend="chapter-bootable"/>. 26 This version is recommended by the kernel developers when you need absolute 27 stability. Later versions of GCC have not received as much testing for Linux 28 kernel compilation. Using a later version is likely to work, however, we 29 recommend adhering to the kernel developer's advice and using the version here 30 to compile your kernel.</para> 37 31 38 32 <note><para>We don't install the C++ compiler or libraries here. However, there … … 47 41 <para>Apply the patches and make a small adjustment:</para> 48 42 49 <screen><userinput>patch -Np1 -i ../ &gcc-2953-patch;50 patch -Np1 -i ../ &gcc-2953-no-fixinc-patch;51 patch -Np1 -i ../ &gcc-2953-returntype-fix-patch;43 <screen><userinput>patch -Np1 -i ../gcc-&gcc-2953-version;-2.patch 44 patch -Np1 -i ../gcc-&gcc-2953-version;-no-fixinc.patch 45 patch -Np1 -i ../gcc-&gcc-2953-version;-returntype-fix.patch 52 46 echo timestamp > gcc/cstamp-h.in</userinput></screen> 53 47 … … 60 54 <para>Compile and install the compiler:</para> 61 55 62 <screen><userinput>../ &gcc-2953-dir;/configure --prefix=/opt/&gcc-2953-dir; \63 --enable-shared --enable-languages=c \64 --enable-threads=posix56 <screen><userinput>../gcc-&gcc-2953-version;/configure --prefix=/opt/gcc-&gcc-2953-version; \ 57 --enable-shared --enable-languages=c \ 58 --enable-threads=posix 65 59 make bootstrap 66 60 make install</userinput></screen> … … 69 63 70 64 </sect1> 71
Note:
See TracChangeset
for help on using the changeset viewer.