diff options
Diffstat (limited to 'chapter06/gcc-inst.xml')
-rw-r--r-- | chapter06/gcc-inst.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml index 60a486886..a3a024a4f 100644 --- a/chapter06/gcc-inst.xml +++ b/chapter06/gcc-inst.xml @@ -1,6 +1,10 @@ <sect2> <title>Installation of GCC</title> +<para>This package requires its patch to be applied before you can +install it. Make sure it's unpacked before running the installation +commands.</para> + <para>This package is known to behave badly when you have changed its default optimization flags (including the -march and -mcpu options). GCC is best left alone. Therefore, if you have defined any environment variables @@ -23,7 +27,7 @@ mkdir ../gcc-build && cd ../gcc-build && ../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \ --enable-languages=c,c++ --enable-threads=posix \ - --with-slibdir=/lib --enable-_cxa-atexit && + --with-slibdir=/lib --enable-__cxa_atexit && make bootstrap && make install && ln -s ../usr/bin/cpp /lib && |