diff options
author | Timothy Bauscher <timothy@linuxfromscratch.org> | 2002-08-30 23:08:49 +0000 |
---|---|---|
committer | Timothy Bauscher <timothy@linuxfromscratch.org> | 2002-08-30 23:08:49 +0000 |
commit | 5ebcbccb4e00c2c5a16a1e9167c74926737a81af (patch) | |
tree | 0229b52d303b0b322e65d104f3b026c3d38c9eaa /chapter05 | |
parent | 83e39026d0d6246fd6c7a532a65f9835a64ca571 (diff) |
rm /bin/bash after makedev, re-added HAVE_GAS_HIDDEN, removed --enable-__cxa-atexit
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2075 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/gcc-exp.xml | 6 | ||||
-rw-r--r-- | chapter05/gcc-inst.xml | 8 | ||||
-rw-r--r-- | chapter05/introduction.xml | 4 |
3 files changed, 13 insertions, 5 deletions
diff --git a/chapter05/gcc-exp.xml b/chapter05/gcc-exp.xml index 2078f8a1d..91d47bdd6 100644 --- a/chapter05/gcc-exp.xml +++ b/chapter05/gcc-exp.xml @@ -19,9 +19,9 @@ the --enable-languages parameter may be omitted.</para> <para><userinput>--enable-threads=posix:</userinput> This enables C++ exception handling for multithreaded code.</para> -<para><userinput>--enable-__cxa-atexit:</userinput> This option will result -in C++ shared libraries and C++ programs that are interoperable with other -linux distributions.</para> +<para><userinput>echo "#define HAVE_GAS_HIDDEN 1":</userinput> +This defines the .hidden assembler directive so that we don't build +a faulty Glibc later on.</para> <para><userinput>make BOOT_LDFLAGS=-static:</userinput> This is the equivalent to make LDFLAGS=-static as we use with other diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml index 021dd9b03..661726347 100644 --- a/chapter05/gcc-inst.xml +++ b/chapter05/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 @@ -14,8 +18,8 @@ been warned.</para> mkdir ../gcc-build && cd ../gcc-build && ../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c \ - --disable-nls --disable-shared --enable-threads=posix \ - --enable-__cxa-atexit && + --disable-nls --disable-shared --enable-threads=posix && +echo "#define HAVE_GAS_HIDDEN 1" >> gcc/auto-host.h && make BOOT_LDFLAGS=-static bootstrap && make prefix=$LFS/static install && ln -s gcc $LFS/static/bin/cc</userinput></screen></para> diff --git a/chapter05/introduction.xml b/chapter05/introduction.xml index 34fbefa1d..0d1cbac41 100644 --- a/chapter05/introduction.xml +++ b/chapter05/introduction.xml @@ -24,6 +24,10 @@ exactly what each package is used for, and why the user or the system needs it. For this purpose a short description of the content of each package is given right after the installation instructions.</para> +<para>Many of our packages must be patched before they can be compiled. +We only apply patches when and where they are needed. So, don't fret if +seems like instructions for a patch are missing.</para> + <para>During the installation of several packages you will probably see all kinds of compiler warnings scroll by on your screen. These are normal and can be safely ignored. They are just what they say they are: |