|
@@ -46,21 +46,11 @@
|
|
|
<screen><userinput remap="pre">sed -i 's/if \((code.*))\)/if (\1 \&\& \!DEBUG_INSN_P (insn))/' gcc/sched-deps.c</userinput></screen>
|
|
|
|
|
|
|
|
|
- <para>First fix a problem identified upstream that causes some
|
|
|
+ <para>Now fix a problem identified upstream that causes some
|
|
|
programs to fail:</para>
|
|
|
|
|
|
<screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-patch;</userinput></screen>
|
|
|
|
|
|
-<!--
|
|
|
- <para>As in <xref linkend="ch-tools-gcc-pass2"/>, apply the following
|
|
|
- <command>sed</command> to force the build to use the
|
|
|
- <option>-fomit-frame-pointer</option> compiler flag in order to ensure
|
|
|
- consistent compiler builds:</para>
|
|
|
-
|
|
|
-<screen><userinput remap="pre">case `uname -m` in
|
|
|
- i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;;
|
|
|
-esac</userinput></screen>
|
|
|
--->
|
|
|
<para>The GCC documentation recommends building GCC outside of the source
|
|
|
directory in a dedicated build directory:</para>
|
|
|
|