|
@@ -35,6 +35,18 @@ unset SPECFILE</userinput></screen></para>
|
|
|
it all in. Or you can edit the specs file by hand if you want to: just replace
|
|
|
"/lib/ld-linux.so.2" with "/stage1/lib/ld-linux.so.2".</para>
|
|
|
|
|
|
+<para>Also, because we allowed GCC's "Fixincludes" script to modify our host's
|
|
|
+header files (and this was necessary because of improper use of the __thread
|
|
|
+keyword in some older software), we want to get rid of those modified header
|
|
|
+files, and replace them with pristine ones.</para>
|
|
|
+
|
|
|
+<para><screen><userinput>GCCDIR=/stage1/lib/gcc-lib/*/*
|
|
|
+rm -rf $GCCDIR/include/*
|
|
|
+cp $GCCDIR/install-tools/include/* $GCCDIR/include
|
|
|
+cp $GCCDIR/install-tools/gsyslimits.h \
|
|
|
+ $GCCDIR/include/syslimits.h
|
|
|
+unset GCCDIR</userinput></screen></para>
|
|
|
+
|
|
|
<para>This completes the installation of the self-contained toolchain, which
|
|
|
can now be used to build the rest of the temporary tools.</para>
|
|
|
|