diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-01-31 01:00:07 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-01-31 01:00:07 +0000 |
commit | 8233fb856b5a4ef44bfd9358fd83d642b151d824 (patch) | |
tree | 86d2a278a4fbff1e343529350fa82ba65eaa0a42 /chapter06/ldso-inst.sgml | |
parent | d6323ad3ae50e4783741748cf772631920e7ab79 (diff) |
Removed building ldd and ldconfig. Removed comments about compiler
optimization
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@74 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/ldso-inst.sgml')
-rw-r--r-- | chapter06/ldso-inst.sgml | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/chapter06/ldso-inst.sgml b/chapter06/ldso-inst.sgml index a452716d7..aa47e3594 100644 --- a/chapter06/ldso-inst.sgml +++ b/chapter06/ldso-inst.sgml @@ -7,34 +7,11 @@ Install Ld.so by running the following commands: <blockquote><literallayout> - <userinput>cd util &&</userinput> - <userinput>make ldd ldconfig &&</userinput> - <userinput>cp ldd /bin &&</userinput> - <userinput>cp ldconfig /sbin &&</userinput> - <userinput>cd ../man &&</userinput> + <userinput>cd man &&</userinput> <userinput>cp ldd.1 /usr/share/man/man1 &&</userinput> <userinput>cp *.8 /usr/share/man/man8 &&</userinput> - <userinput>rm /usr/bin/ldd &&</userinput> - <userinput>hash -r</userinput> </literallayout></blockquote> -<para> -The <quote>hash -r</quote> command is to make bash forget about the -locations of previously executed commands. If you have executed ldd -before, bash expects it to be found in /usr/bin. Since we moved it to -/bin, the cache needs to be purged so bash can find it in /bin when you -want to execute it again. -</para> - -<para> -You might have noticed that we don't use the compiler optimizations for -this package. The reason is that overriding the CFLAGS variable causes -compilation problems. You would have to edit the Config.mk file and add -the proper values to the CFLAGS variable and then compile the package. -If you want to do that it's up to you. I don't think it's worth the -trouble though. The ld and ldd programs usually are only rarely used. -</para> - </sect2> |