Changeset 9652249 for chapter05/gcc-pass1.xml
- Timestamp:
- 05/16/2004 12:06:08 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, 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:
- a001133
- Parents:
- 90a4897
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass1.xml
r90a4897 r9652249 4 4 %general-entities; 5 5 ]> 6 <sect1 id="ch-tools-gcc-pass1" >6 <sect1 id="ch-tools-gcc-pass1" role="wrap"> 7 7 <title>GCC-&gcc-version; - Pass 1</title> 8 8 <?dbhtml filename="gcc-pass1.html"?> … … 12 12 <secondary>tools, pass 1</secondary></indexterm> 13 13 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gcc.xml" xpointer="xpointer(/sect1/para[1])"/> 14 <sect2 role="package"><title/> 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gcc.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> 15 16 16 <screen>&buildtime; 4.4 SBU 17 &diskspace; 300 MB</screen> 17 <segmentedlist> 18 <segtitle>&buildtime;</segtitle> 19 <segtitle>&diskspace;</segtitle> 20 <seglistitem><seg>4.4 SBU</seg><seg>300 MB</seg></seglistitem> 21 </segmentedlist> 18 22 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gcc.xml" xpointer="xpointer(/sect1/ para[2])"/>23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gcc.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> 20 24 25 </sect2> 21 26 22 <sect2 >27 <sect2 role="installation"> 23 28 <title>Installation of GCC</title> 24 29 … … 46 51 <para>The meaning of the configure options:</para> 47 52 48 <itemizedlist> 49 <listitem><para><userinput>--with-local-prefix=/tools</userinput>: The 50 purpose of this switch is to remove <filename>/usr/local/include</filename> 53 <variablelist> 54 <varlistentry> 55 <term><userinput>--with-local-prefix=/tools</userinput></term> 56 <listitem><para>The purpose of this switch is to remove <filename>/usr/local/include</filename> 51 57 from <command>gcc</command>'s include search path. This is not absolutely 52 58 essential; however, we want to try to minimize the influence of the host 53 59 system, so this a sensible thing to do.</para></listitem> 60 </varlistentry> 54 61 55 <listitem><para><userinput>--enable-shared</userinput>: This switch may 62 <varlistentry> 63 <term><userinput>--enable-shared</userinput></term> 64 <listitem><para>This switch may 56 65 seem counter-intuitive at first. But using it allows the building of 57 66 <filename>libgcc_s.so.1</filename> and <filename>libgcc_eh.a</filename>, and … … 61 70 statically, as this is controlled by the <emphasis>-static</emphasis> 62 71 value of BOOT_LDFLAGS in the next step.</para></listitem> 72 </varlistentry> 63 73 64 <listitem><para><userinput>--enable-languages=c</userinput>: This option 74 <varlistentry> 75 <term><userinput>--enable-languages=c</userinput></term> 76 <listitem><para>This option 65 77 ensures that only the C compiler is built. The option is only needed when you 66 78 have downloaded and unpacked the full GCC tarball.</para></listitem> 67 </itemizedlist> 79 </varlistentry> 80 </variablelist> 68 81 69 82 <para>Continue with compiling the package:</para> … … 73 86 <para>The meaning of the make parameters:</para> 74 87 75 <itemizedlist> 76 <listitem><para><userinput>BOOT_LDFLAGS="-static"</userinput>: This tells 77 GCC to link its programs statically.</para></listitem> 88 <variablelist> 89 <varlistentry> 90 <term><userinput>BOOT_LDFLAGS="-static"</userinput></term> 91 <listitem><para>This tells GCC to link its programs statically.</para></listitem> 92 </varlistentry> 78 93 79 <listitem><para><userinput>bootstrap</userinput>: This target doesn't just 94 <varlistentry> 95 <term><userinput>bootstrap</userinput></term> 96 <listitem><para>This target doesn't just 80 97 compile GCC, but compiles it several times. It uses the programs compiled in 81 98 a first round to compile itself a second time, and then again a third time. … … 83 100 reproduce itself flawlessly, which most probably means that it was 84 101 compiled correctly.</para></listitem> 85 </itemizedlist> 102 </varlistentry> 103 </variablelist> 86 104 87 105 <para>Compilation is now complete, and at this point we would normally run the … … 105 123 </sect2> 106 124 107 <sect2 ><title/>125 <sect2 role="content"><title/> 108 126 <para>The details on this package are found in <xref linkend="contents-gcc"/>.</para> 109 127 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.