Changeset 574b0ea for chapter05/gcc-pass1.xml
- Timestamp:
- 05/30/2004 01:41:04 PM (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:
- 07f719a
- Parents:
- b711e1d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass1.xml
rb711e1d r574b0ea 32 32 33 33 <para>This package is known to behave badly when you change its default 34 optimization flags (including the < emphasis>-march</emphasis> and35 < emphasis>-mcpu</emphasis> options). Therefore, if you have defined any34 optimization flags (including the <parameter>-march</parameter> and 35 <parameter>-mcpu</parameter> options). Therefore, if you have defined any 36 36 environment variables that override default optimizations, such as CFLAGS and 37 37 CXXFLAGS, we recommend un-setting them when building GCC.</para> … … 53 53 <variablelist> 54 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>55 <term><parameter>--with-local-prefix=/tools</parameter></term> 56 <listitem><para>The purpose of this switch is to remove <filename class="directory">/usr/local/include</filename> 57 57 from <command>gcc</command>'s include search path. This is not absolutely 58 58 essential; however, we want to try to minimize the influence of the host … … 61 61 62 62 <varlistentry> 63 <term>< userinput>--enable-shared</userinput></term>63 <term><parameter>--enable-shared</parameter></term> 64 64 <listitem><para>This switch may 65 65 seem counter-intuitive at first. But using it allows the building of … … 67 67 having <filename>libgcc_eh.a</filename> available ensures that the configure 68 68 script for Glibc (the next package we compile) produces the proper results. 69 Note that the <command>gcc</command>binaries will still be linked70 statically, as this is controlled by the < emphasis>-static</emphasis>69 Note that the GCC binaries will still be linked 70 statically, as this is controlled by the <parameter>-static</parameter> 71 71 value of BOOT_LDFLAGS in the next step.</para></listitem> 72 72 </varlistentry> 73 73 74 74 <varlistentry> 75 <term>< userinput>--enable-languages=c</userinput></term>75 <term><parameter>--enable-languages=c</parameter></term> 76 76 <listitem><para>This option 77 77 ensures that only the C compiler is built. The option is only needed when you … … 88 88 <variablelist> 89 89 <varlistentry> 90 <term>< userinput>BOOT_LDFLAGS="-static"</userinput></term>90 <term><parameter>BOOT_LDFLAGS="-static"</parameter></term> 91 91 <listitem><para>This tells GCC to link its programs statically.</para></listitem> 92 92 </varlistentry> 93 93 94 94 <varlistentry> 95 <term>< userinput>bootstrap</userinput></term>95 <term><parameter>bootstrap</parameter></term> 96 96 <listitem><para>This target doesn't just 97 97 compile GCC, but compiles it several times. It uses the programs compiled in
Note:
See TracChangeset
for help on using the changeset viewer.