| 1234567891011121314151617181920212223242526272829 | <sect2><title> </title><para> </para></sect2><sect2><title>Installation of GCC</title><para>This package is known to behave badly when you have changed itsdefault optimization flags (including the -march and -mcpu options).Therefore, if you have defined any environment variables that overridedefault optimizations, such as CFLAGS and CXXFLAGS, we recommend unsettingor modifying them when building GCC.</para><para><screen><userinput>patch -Np1 -i ../gcc-2.95.3-2.patchecho timestamp > gcc/cstamp-h.inmkdir ../gcc-2-buildcd ../gcc-2-build../gcc-2.95.3/configure --prefix=/opt/gcc-2.95.3 \    --enable-shared --enable-languages=c,c++ \    --enable-threads=posixmake bootstrapmake install</userinput></screen></para><para>Add the compiler's library directory to <filename>ld.so.conf</filename>,so these libraries can be found at run time:</para><para><screen><userinput>echo "/opt/gcc-2.95.3/lib" >> /etc/ld.so.confldconfig</userinput></screen></para></sect2>
 |