diff options
author | Timothy Bauscher <timothy@linuxfromscratch.org> | 2002-07-29 18:12:02 +0000 |
---|---|---|
committer | Timothy Bauscher <timothy@linuxfromscratch.org> | 2002-07-29 18:12:02 +0000 |
commit | fde5bc7ead280ef877f91be60cd1c6675cd35bb0 (patch) | |
tree | 915ffe76a1bf54e3f345a56b2bb7ff2a24f056dd /chapter05 | |
parent | 2a601b140b3f68310fe8dbd400a8a2ed3e7f03a6 (diff) |
Removed reiserfsprogs. Updated file and util-linux. Many miscellaneous changes.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2038 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/diffutils-inst.xml | 6 | ||||
-rw-r--r-- | chapter05/fileutils-inst.xml | 5 | ||||
-rw-r--r-- | chapter05/findutils-inst.xml | 2 | ||||
-rw-r--r-- | chapter05/gawk-inst.xml | 2 | ||||
-rw-r--r-- | chapter05/gcc-exp.xml | 4 | ||||
-rw-r--r-- | chapter05/gcc-inst.xml | 1 | ||||
-rw-r--r-- | chapter05/grep-inst.xml | 6 | ||||
-rw-r--r-- | chapter05/patch-inst.xml | 2 | ||||
-rw-r--r-- | chapter05/sed-inst.xml | 2 | ||||
-rw-r--r-- | chapter05/texinfo-inst.xml | 4 | ||||
-rw-r--r-- | chapter05/whystatic.xml | 2 |
11 files changed, 21 insertions, 15 deletions
diff --git a/chapter05/diffutils-inst.xml b/chapter05/diffutils-inst.xml index f5f59fd15..1d83c6337 100644 --- a/chapter05/diffutils-inst.xml +++ b/chapter05/diffutils-inst.xml @@ -3,9 +3,9 @@ <para>Install Diffutils by running the following commands:</para> -<para><screen><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2 \ -./configure --prefix=$LFS/static --disable-nls && -make LDFLAGS=-static && +<para><screen><userinput>LDFLAGS=-static CPPFLAGS=-Dre_max_failures=re_max_failures2 \ + ./configure --prefix=$LFS/static --disable-nls && +make && make install</userinput></screen></para> </sect2> diff --git a/chapter05/fileutils-inst.xml b/chapter05/fileutils-inst.xml index 89deed1f9..8e209b4e1 100644 --- a/chapter05/fileutils-inst.xml +++ b/chapter05/fileutils-inst.xml @@ -25,8 +25,9 @@ than likely result in all kinds of compile time problems.</para> <para>Install Fileutils by running the following commands:</para> -<para><screen><userinput>./configure --disable-nls --prefix=$LFS/static && -make LDFLAGS=-static && +<para><screen><userinput>LDFLAGS=-static \ + ./configure --disable-nls --prefix=$LFS/static && +make && make install</userinput></screen></para> <para>Once you have installed Fileutils, you can test whether the diff --git a/chapter05/findutils-inst.xml b/chapter05/findutils-inst.xml index 2247dedf1..6fd3b61a2 100644 --- a/chapter05/findutils-inst.xml +++ b/chapter05/findutils-inst.xml @@ -9,7 +9,7 @@ commands.</para> <para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch && CPPFLAGS=-Dre_max_failures=re_max_failures2 \ -./configure --prefix=$LFS/static && + ./configure --prefix=$LFS/static && make LDFLAGS=-static && make install</userinput></screen></para> diff --git a/chapter05/gawk-inst.xml b/chapter05/gawk-inst.xml index e5f97ae6d..0ca0902ba 100644 --- a/chapter05/gawk-inst.xml +++ b/chapter05/gawk-inst.xml @@ -5,7 +5,7 @@ running the following commands:</para> <para><screen><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2 \ -./configure --prefix=$LFS/static --disable-nls && + ./configure --prefix=$LFS/static --disable-nls && make LDFLAGS=-static && make install</userinput></screen></para> diff --git a/chapter05/gcc-exp.xml b/chapter05/gcc-exp.xml index b298990df..254e713ff 100644 --- a/chapter05/gcc-exp.xml +++ b/chapter05/gcc-exp.xml @@ -18,6 +18,10 @@ 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>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>ln -s gcc $LFS/static/bin/cc:</userinput> This creates the $LFS/static/bin/gcc symlink which some packages need.</para> diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml index 13f283098..c0a9c97ef 100644 --- a/chapter05/gcc-inst.xml +++ b/chapter05/gcc-inst.xml @@ -14,6 +14,7 @@ been warned.</para> cd ../gcc-build && ../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c \ --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/grep-inst.xml b/chapter05/grep-inst.xml index 18fe41068..164b0f73f 100644 --- a/chapter05/grep-inst.xml +++ b/chapter05/grep-inst.xml @@ -3,10 +3,10 @@ <para>Install Grep by running the following commands:</para> -<para><screen><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2 \ -./configure --prefix=$LFS/static --disable-nls \ +<para><screen><userinput>LDFLAGS=-static CPPFLAGS=-Dre_max_failures=re_max_failures2 \ + ./configure --prefix=$LFS/static --disable-nls \ --disable-perl-regexp && -make LDFLAGS=-static && +make && make install</userinput></screen></para> </sect2> diff --git a/chapter05/patch-inst.xml b/chapter05/patch-inst.xml index 4528b7f2b..6017a3593 100644 --- a/chapter05/patch-inst.xml +++ b/chapter05/patch-inst.xml @@ -4,7 +4,7 @@ <para>Install Patch by running the following commands:</para> <para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE \ -./configure --prefix=$LFS/static && + ./configure --prefix=$LFS/static && make LDFLAGS=-static && make install</userinput></screen></para> diff --git a/chapter05/sed-inst.xml b/chapter05/sed-inst.xml index 1f30b36e8..775bd86fe 100644 --- a/chapter05/sed-inst.xml +++ b/chapter05/sed-inst.xml @@ -4,7 +4,7 @@ <para>Install Sed by running the following commands:</para> <para><screen><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2 \ -./configure --prefix=$LFS/static && + ./configure --prefix=$LFS/static && make LDFLAGS=-static && make install</userinput></screen></para> diff --git a/chapter05/texinfo-inst.xml b/chapter05/texinfo-inst.xml index 0e36b6b96..7e4c29bff 100644 --- a/chapter05/texinfo-inst.xml +++ b/chapter05/texinfo-inst.xml @@ -3,9 +3,9 @@ <para>Install Texinfo by running the following commands:</para> -<para><screen><userinput>./configure --prefix=$LFS/static \ +<para><screen><userinput>LDFLAGS=-static ./configure --prefix=$LFS/static \ --disable-nls && -make LDFLAGS=-static && +make && make install</userinput></screen></para> </sect2> diff --git a/chapter05/whystatic.xml b/chapter05/whystatic.xml index e00b2f8d4..cdcab4d1a 100644 --- a/chapter05/whystatic.xml +++ b/chapter05/whystatic.xml @@ -19,7 +19,7 @@ has.</para> can often be around 2.5 MB), so you may not want a separate copy of each library attached to the program. Just imagine if you had a simple command like ls with an extra 2.5 MB attached to it! Instead of making the library -an actual part of the program, or statically linked, the library is kept a +an actual part of the program, or statically linked, the library is stored as a separate file, which is loaded only when the program needs it. This is what we call dynamically linked, as the library is loaded and unloaded dynamically, as the program needs it.</para> |