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 /chapter06 | |
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 'chapter06')
-rw-r--r-- | chapter06/gcc-exp.xml | 9 | ||||
-rw-r--r-- | chapter06/gcc-inst.xml | 6 | ||||
-rw-r--r-- | chapter06/gcc.xml | 1 | ||||
-rw-r--r-- | chapter06/makedev-inst.xml | 9 | ||||
-rw-r--r-- | chapter06/ncurses-exp.xml | 2 | ||||
-rw-r--r-- | chapter06/perl-inst.xml | 4 | ||||
-rw-r--r-- | chapter06/vim-exp.xml | 2 |
7 files changed, 22 insertions, 11 deletions
diff --git a/chapter06/gcc-exp.xml b/chapter06/gcc-exp.xml new file mode 100644 index 000000000..b05214795 --- /dev/null +++ b/chapter06/gcc-exp.xml @@ -0,0 +1,9 @@ +<sect2> +<title>Command explanations</title> + +<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> + +</sect2> + 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 && diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index fc6faaa70..a58451300 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -6,6 +6,7 @@ Estimated required disk space: &gcc-compsize;</screen> &c6-gcc-inst; +&c6-gcc-exp; &aa-gcc-desc; &aa-gcc-dep; diff --git a/chapter06/makedev-inst.xml b/chapter06/makedev-inst.xml index a4d56ff7b..6fa63a064 100644 --- a/chapter06/makedev-inst.xml +++ b/chapter06/makedev-inst.xml @@ -9,17 +9,18 @@ won't create a directory for you to cd into.</para> <para><screen><userinput>ln -s /static/bin/bash /bin/bash && cp MAKEDEV-&makedev-version; /dev/MAKEDEV && cd /dev && -chmod 754 MAKEDEV && -rm /bin/bash</userinput></screen></para> +chmod 754 MAKEDEV</userinput></screen></para> <para>Now, depending on whether you are going to use devpts or not, you can run one of two commands:</para> <para>If you do not intend to use devpts, run:</para> -<para><screen><userinput>./MAKEDEV -v generic</userinput></screen></para> +<para><screen><userinput>./MAKEDEV -v generic && +rm /bin/bash</userinput></screen></para> <para>If you do intend to use devpts, then run:</para> -<para><screen><userinput>./MAKEDEV -v generic-nopty</userinput></screen></para> +<para><screen><userinput>./MAKEDEV -v generic-nopty && +rm /bin/bash</userinput></screen></para> <para>Note that if you aren't sure, it's best to use the <userinput>./MAKEDEV -v generic</userinput> command as this will diff --git a/chapter06/ncurses-exp.xml b/chapter06/ncurses-exp.xml index f393f9db5..1e9c7d516 100644 --- a/chapter06/ncurses-exp.xml +++ b/chapter06/ncurses-exp.xml @@ -3,7 +3,7 @@ <para><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-patch:</userinput> This patch fixes a compile -problem with GCC-3.1 because Ncurses uses constructions that are no longer +problem with GCC-3.2 because Ncurses uses constructions that are no longer valid in the new C++ standard.</para> <para><userinput>--with-shared:</userinput> This enables the build of the diff --git a/chapter06/perl-inst.xml b/chapter06/perl-inst.xml index ef3fa7bbe..66b067ed2 100644 --- a/chapter06/perl-inst.xml +++ b/chapter06/perl-inst.xml @@ -1,10 +1,6 @@ <sect2> <title>Installation of Perl</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>Install Perl by running the following commands:</para> <para><screen><userinput>./configure.gnu --prefix=/usr && diff --git a/chapter06/vim-exp.xml b/chapter06/vim-exp.xml index 570141334..a95c2f902 100644 --- a/chapter06/vim-exp.xml +++ b/chapter06/vim-exp.xml @@ -2,7 +2,7 @@ <title>Command explanations</title> <para><userinput>patch -Np1 -i ../vim-&vim-version;.patch:</userinput> This -patch fixes a compile problem with GCC-3.1.</para> +patch fixes a compile problem with GCC-3.2.</para> <para><userinput>make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\":</userinput> Setting this will |