Changeset 8f54b5a
- Timestamp:
- 10/19/2008 07:19:00 PM (16 years ago)
- Children:
- c60aa2a
- Parents:
- ae6a4f86
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
rae6a4f86 r8f54b5a 39 39 40 40 <listitem> 41 <para>2008-10-19</para> 42 <itemizedlist> 43 <listitem> 44 <para>[jhuntwork] - Move GCC's bootstrap back to pass 1 to correspond more closely 45 with trunk. Cross compilation methods in the future can address the issues originally 46 bypassed by moving the bootstrap to pass 2.</para> 47 </listitem> 48 </itemizedlist> 49 </listitem> 50 51 <listitem> 41 52 <para>2008-10-18</para> 42 53 <itemizedlist> … … 48 59 </itemizedlist> 49 60 </listitem> 50 51 61 52 62 <listitem> -
chapter05/gcc-pass1.xml
rae6a4f86 r8f54b5a 113 113 </varlistentry> 114 114 115 <varlistentry>116 <term><parameter>--disable-bootstrap</parameter></term>117 <listitem>118 <para>Bootstrapping the compiler is now the default for GCC. However,119 bootstrapping now would mean using our new Binutils to link against120 the host's libc, which in some cases produces unexpected results.</para>121 </listitem>122 </varlistentry>123 124 115 </variablelist> 125 116 126 <para>Continue with compiling by running:</para> 117 <para>The following command will compile GCC not once, but several times. It 118 uses the programs compiled in a first round to compile itself a second time, 119 and then again a third time. It then compares these second and third compiles 120 to make sure it can reproduce itself flawlessly. This is called 121 <quote>bootstrapping</quote>. Building GCC in this way ensures that it was 122 compiled correctly and is now the default configuration for the released 123 package. Continue with compiling by running:</para> 127 124 128 125 <screen><userinput remap="make">make</userinput></screen> -
chapter05/gcc-pass2.xml
rae6a4f86 r8f54b5a 80 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 83 <para>The bootstrap build performed in <xref linkend="ch-tools-gcc-pass1"/> 84 built GCC with the <option>-fomit-frame-pointer</option> compiler flag. 85 Non-bootstrap builds omit this flag by default, so apply the following 86 <command>sed</command> to use it in order to ensure consistent compiler 87 builds:</para> 88 89 <screen><userinput remap="pre">cp -v gcc/Makefile.in{,.tmp} 90 sed 's/^XCFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in.tmp \ 91 > gcc/Makefile.in</userinput></screen> 82 92 83 93 <para>The following command will change the location of GCC's default … … 147 157 --enable-shared --enable-threads=posix \ 148 158 --enable-__cxa_atexit --enable-languages=c,c++ \ 149 --disable-libstdcxx-pch --disable-multilib</userinput></screen> 159 --disable-libstdcxx-pch --disable-multilib \ 160 --disable-bootstrap</userinput></screen> 150 161 151 162 <variablelist> … … 202 213 </varlistentry> 203 214 215 <varlistentry> 216 <term><parameter>--disable-bootstrap</parameter></term> 217 <listitem> 218 <para>Bootstrapping the compiler is now the default for GCC. However, 219 our build method should provide us with a solid compiler without the 220 need to bootstrap each time.</para> 221 </listitem> 222 </varlistentry> 223 204 224 </variablelist> 205 225 206 <para>The following command will compile GCC not once, but several times. It 207 uses the programs compiled in a first round to compile itself a second time, 208 and then again a third time. It then compares these second and third compiles 209 to make sure it can reproduce itself flawlessly. This is called 210 <quote>bootstrapping</quote>. Building GCC in this way ensures that it was 211 compiled correctly and is now the default configuration for the released 212 package. Continue with compiling by running:</para> 226 <para>Compile the package:</para> 213 227 214 228 <screen><userinput remap="make">make</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.