diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/gcc-inst.xml | 7 | ||||
-rw-r--r-- | chapter06/glibc-inst.xml | 4 | ||||
-rw-r--r-- | chapter06/libtool-inst.xml | 3 | ||||
-rw-r--r-- | chapter06/libtool.xml | 1 |
4 files changed, 2 insertions, 13 deletions
diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml index e103903d5..b4cf8d809 100644 --- a/chapter06/gcc-inst.xml +++ b/chapter06/gcc-inst.xml @@ -1,10 +1,6 @@ <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 @@ -18,8 +14,7 @@ and gcc-g++ tarballs. Other compilers are available in the full gcc package; instructions for building them may be found at <ulink url="&blfs-root;view/cvs/general/gcc.html"/>.</para> -<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch && -mkdir ../gcc-build && +<para><screen><userinput>mkdir ../gcc-build && cd ../gcc-build && ../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \ --enable-threads=posix --with-slibdir=/lib \ diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml index 7b512cd60..8cc8799b5 100644 --- a/chapter06/glibc-inst.xml +++ b/chapter06/glibc-inst.xml @@ -17,10 +17,6 @@ that override default optimizations, such as CFLAGS and CXXFLAGS, we recommend unsetting or modifying them when building Glibc. You have been warned.</para> -<para>Also, don't pass the --enable-kernel option to the configure -script. It's known to cause segmentation faults when other packages like -fileutils, make and tar are linked against it.</para> - <para>Basically, compiling Glibc in any other way than the book suggests is putting your system at very high risk.</para> diff --git a/chapter06/libtool-inst.xml b/chapter06/libtool-inst.xml index eb1dae1cd..8e5774a28 100644 --- a/chapter06/libtool-inst.xml +++ b/chapter06/libtool-inst.xml @@ -3,8 +3,7 @@ <para>Install Libtool by running the following commands:</para> -<para><screen><userinput>patch -Np1 -i ../libtool-&libtool-patch-version;.patch && -./configure --prefix=/usr && +<para><screen><userinput>./configure --prefix=/usr && make && make install</userinput></screen></para> diff --git a/chapter06/libtool.xml b/chapter06/libtool.xml index 045bc381c..92dcd7f0e 100644 --- a/chapter06/libtool.xml +++ b/chapter06/libtool.xml @@ -6,7 +6,6 @@ Estimated required disk space: &libtool-compsize;</screen> &c6-libtool-inst; -&c6-libtool-exp; &aa-libtool-desc; &aa-libtool-dep; |