Changeset 1cb7ced
- Timestamp:
- 09/26/2003 04:11:08 AM (21 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- eea36593
- Parents:
- 6952b96
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/chapter05.xml
r6952b96 r1cb7ced 41 41 <?dbhtml filename="stripping.html" dir="chapter05"?> 42 42 43 <para> If your LFS partition is rather small, you will be glad to learn that you44 can throw away some unnecessary things. The executables and libraries you have 45 built so far contain about 130 MB of unneeded debugging symbols. Remove those 46 symbols like this:</para>43 <para>The steps in this section are optional. If your LFS partition is rather 44 small, you will be glad to learn that you can throw away some unnecessary 45 things. The executables and libraries you have built so far contain about 130 MB 46 of unneeded debugging symbols. Remove those symbols like this:</para> 47 47 48 48 <para><screen><userinput>strip --strip-unneeded /tools/{,s}bin/* -
chapter05/gcc-pass2-inst.xml
r6952b96 r1cb7ced 41 41 process is warranted here. Under normal circumstances, the GCC fixincludes 42 42 script scans your system for header files that need to be fixed. It might find 43 that the Glibc header files on your host system need to be fixed, fix them and43 that some Glibc header files on your host system need to be fixed, fix them and 44 44 put them in the GCC private include directory. Then, later on in Chapter 6, 45 45 after we've installed the newer Glibc, this private include directory would be -
chapter05/glibc-inst.xml
r6952b96 r1cb7ced 74 74 75 75 <blockquote><screen>configure: WARNING: 76 *** These auxiliary programs are missing or incompatible versions: autoconf76 *** These auxiliary programs are missing or incompatible versions: msgfmt 77 77 *** some features will be disabled. 78 78 *** Check the INSTALL file for required versions.</screen></blockquote> 79 79 80 <para>The missing or incompatible <filename> autoconf</filename> program is81 harmless and doesn't causeany problems.</para>80 <para>The missing or incompatible <filename>msgfmt</filename> program is 81 generally harmless and shouldn't cause us any problems.</para> 82 82 83 83 <para>Continue with compiling the package:</para> -
chapter06/chroot.xml
r6952b96 r1cb7ced 28 28 29 29 <para>Also note the use of the set +h directive. This tells bash to not use 30 it 's internal path hashing. Without this directive, bash will remember paths30 its internal path hashing. Without this directive, bash will remember paths 31 31 to binaries. Since as we go thru chapter 6, we want to use our newly compiled 32 32 binaries as soon as they are installed, we turn off this function.</para> -
chapter06/introduction.xml
r6952b96 r1cb7ced 16 16 the possibilities for mistakes.</para> 17 17 18 <para>If you plan to use compiler optimizations in this chapter, 19 take a look at the optimization hint at 20 <ulink url="&hints-root;optimization.txt"/>. 21 Compiler optimizations can make a program run faster, but they 22 may also cause compilation difficulties. If a package refuses 23 to compile when using optimization, try to compile it without 24 optimization and see if the problem goes away.</para> 18 <para>If you plan to use compiler optimizations in this chapter, take a look at 19 the optimization hint at <ulink url="&hints-root;optimization.txt"/>. Compiler 20 optimizations can make a program run a touch faster, but they may also cause 21 compilation difficulties and even problems when running the program. If a 22 package refuses to compile when using optimization, try to compile it without 23 optimization and see if the problem goes away. Even if the package does compile 24 when using optimization, there is the risk it may have been compiled 25 incorrectly due to compiler bugs or whatever. In short, the small gains achieved 26 in using compiler optimization are generally outweighed by the risk. First time 27 builders of LFS are encouraged not to bother. Your system will still be plenty 28 fast enough and very stable at the same time.</para> 25 29 26 30 <para>The order in which packages are installed in this chapter has
Note:
See TracChangeset
for help on using the changeset viewer.