From c36479cb7e669dd5011319e81d36839c9323b34a Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sat, 11 Jan 2003 15:45:07 +0000 Subject: removed glibc-exp git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2302 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/glibc-exp.xml | 55 ------------------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 chapter06/glibc-exp.xml (limited to 'chapter06') diff --git a/chapter06/glibc-exp.xml b/chapter06/glibc-exp.xml deleted file mode 100644 index 2f34bc2ef..000000000 --- a/chapter06/glibc-exp.xml +++ /dev/null @@ -1,55 +0,0 @@ - -Command explanations - -patch -Np1 -i ../glibc-&glibc-patch-version;.patch: -This patch converts all occurrences of $(PERL) to -/usr/bin/perl in the -malloc/Makefile file. This is done because Glibc can't -autodetect the location of perl because perl has yet to be installed. The -patch also replaces all occurrences of root with -0 in the login/Makefile file. -This is done because Glibc itself isn't installed yet and therefore -username to userid resolving isn't working yet, so a chown root -file will fail, however it'll work fine if you use the numeric -IDs. - -Lastly, the patch also fixes a problem that causes statically linked -binaries to crash that were linked against Glibc-2.2 libraries. This patch -is only needed temporarily because we have static programs in /static/bin that might be linked against an -older Glibc version (the one from the host distribution). We will install -Glibc again at the end of this chapter to remove this patch so you'll have -a pristine Glibc as the developers intended it. - -touch /etc/ld.so.conf: One of the final steps -of the Glibc installation is running ldconfig to update the dynamic loader -cache. If this file doesn't exist, the installation will abort with an error -that it can't read the file, so we simply create an empty file (the empty -file will have Glibc default to using /lib and /usr/lib which is fine). - ---disable-profile: This disables the building -of libraries with profiling information. This command may be omitted if -you plan to do profiling. - ---enable-add-ons: This enables the add-on that -we install with Glibc, linuxthreads - ---libexecdir=/usr/bin: This will cause the -pt_chown program to be installed in the /usr/bin directory. - -echo "cross-compiling = no" > configparms: -We do this because we are only building for our own system. Cross-compiling -is used, for instance, to build a package for an Apple Power PC on an -Intel system. The reason Glibc thinks we're cross-compiling is that it -can't compile a test program to determine this, so it automatically defaults -to a cross-compiler. Compiling the test program fails because Glibc hasn't -been installed yet. - -exec /static/bin/bash --login: This command will -start a new bash shell which will replace the current shell. This is -done to get rid of the "I have no name!" message in the command -prompt, which was caused by bash's inability to resolve a user ID to -a user name (which in turn was caused by the absence of Glibc). - - - -- cgit v1.2.3-54-g00ecf