2003-05-02 19:20:20 +01:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of GCC</title>
|
|
|
|
|
2003-05-07 21:08:04 +01:00
|
|
|
<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-specs-2.patch
|
2003-05-02 19:20:20 +01:00
|
|
|
patch -Np1 -i ../gcc-&gcc-version;-mmap_test.patch
|
2003-05-07 21:08:04 +01:00
|
|
|
patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes.patch
|
2003-05-02 19:20:20 +01:00
|
|
|
patch -Np1 -i ../gcc-&gcc-version;-libstdc++_no_debug.patch
|
|
|
|
patch -Np1 -i ../gcc-&gcc-version;-libgcc_no_debug.patch </userinput></screen></para>
|
|
|
|
|
|
|
|
<para><screen><userinput>mkdir ../gcc-build
|
|
|
|
cd ../gcc-build</userinput></screen></para>
|
|
|
|
|
|
|
|
<para><screen><userinput>CFLAGS="-O2 -pipe" CXXFLAGS="-O2 -pipe" \
|
|
|
|
../gcc-&gcc-version;/configure --prefix=/stage1 \
|
|
|
|
--with-local-prefix=/stage1 \
|
2003-05-05 19:38:56 +01:00
|
|
|
--enable-clocale=gnu --enable-shared \
|
|
|
|
--enable-threads=posix --enable-__cxa_atexit
|
2003-05-05 20:01:10 +01:00
|
|
|
make LDFLAGS="-s"
|
2003-05-02 19:20:20 +01:00
|
|
|
make -k check
|
|
|
|
make install</userinput></screen></para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|