diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/binutils-inst.xml | 10 | ||||
-rw-r--r-- | chapter06/gcc-inst.xml | 11 | ||||
-rw-r--r-- | chapter06/glibc-inst.xml | 13 | ||||
-rw-r--r-- | chapter06/psmisc-inst.xml | 6 |
4 files changed, 22 insertions, 18 deletions
diff --git a/chapter06/binutils-inst.xml b/chapter06/binutils-inst.xml index baf004950..48a2778d0 100644 --- a/chapter06/binutils-inst.xml +++ b/chapter06/binutils-inst.xml @@ -1,14 +1,14 @@ <sect2><title>Installation of Binutils</title> <para>This package is known to behave badly when you have changed its -default optimization flags (including the -march and -mcpu options). Binutils -is best left alone, so we recommend you unsetting CFLAGS, CXXFLAGS and other -such variables/settings that would change the default optimization that -it comes with.</para> +default optimization flags (including the -march and -mcpu options). Binutils +is best left alone. Therefore, if you have defined any environment variables +that override default optimizations, such as CFLAGS and CXXFLAGS, we +recommend unsetting or modifying them when building binutils. You have +been warned.</para> <para>Install Binutils by running the following commands:</para> - <para><screen><userinput>mkdir ../binutils-build && cd ../binutils-build && ../binutils-&binutils-version;/configure --prefix=/usr --enable-shared && diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml index 42772db72..b956b2499 100644 --- a/chapter06/gcc-inst.xml +++ b/chapter06/gcc-inst.xml @@ -1,11 +1,12 @@ <sect2> <title>Installation of GCC</title> -<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, so we recommend you unsetting CFLAGS, CXXFLAGS and other -such variables/settings that would change the default optimization that -it comes with.</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 +that override default optimizations, such as CFLAGS and CXXFLAGS, we +recommend unsetting or modifying them when building binutils. You have +been warned.</para> <para>Install GCC by running the following commands. These commands will build the C and C++ compiler. Other compilers are available within the gcc diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml index 16f4a7cb0..4b18728b7 100644 --- a/chapter06/glibc-inst.xml +++ b/chapter06/glibc-inst.xml @@ -6,11 +6,14 @@ glibc-&glibc-version; directory and unpack glibc-linuxthreads inside the glibc-&glibc-version; directory, not in /usr/src as you normally would do.</para> -<para>This package is known to behave badly when you have changed its default -optimization flags (including the -march and -mcpu options). Glibc is -best left alone, so we recommend you unsetting CFLAGS, CXXFLAGS and other -such variables/settings that would change the default optimization that -it comes with. Also, don't pass the --enable-kernel option to the configure +<para>This package is known to behave badly when you have changed its +default optimization flags (including the -march and -mcpu options). Glibc +is best left alone. Therefore, if you have defined any environment variables +that override default optimizations, such as CFLAGS and CXXFLAGS, we +recommend unsetting or modifying them when building binutils. 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> diff --git a/chapter06/psmisc-inst.xml b/chapter06/psmisc-inst.xml index 933657e23..e1b07780c 100644 --- a/chapter06/psmisc-inst.xml +++ b/chapter06/psmisc-inst.xml @@ -7,15 +7,15 @@ make && make install</userinput></screen></para> -<para>psmisc installs the -<filename>/usr/share/man/man1/pidof.1</filename> man page, but psmisc's +<para>Psmisc installs the +<filename>/usr/share/man/man1/pidof.1</filename> man page, but Psmisc's pidof program isn't installed by default. Generally that isn't a problem because we install the sysvinit package later on which provides us with a better pidof program.</para> <para>It's up to you now to decide if you are going to use the sysvinit package which provides a pidof program, or not. If you are going to, you -should remove psmisc's pidof man page by running:</para> +should remove Psmisc's pidof man page by running:</para> <para><screen><userinput>rm /usr/share/man/man1/pidof.1</userinput></screen></para> |