- Timestamp:
- 05/26/2002 09:25:09 PM (22 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, v4_0, v4_1, 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:
- fe7f278
- Parents:
- 624fe951
- Location:
- chapter05
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/bzip2-inst.xml
r624fe951 r32cee45c 13 13 xv or tar --use-compress-prog=bunzip2 -xvf file.tar.bz2 to use bzip2 and 14 14 bunzip2 with tar. This patch provides the -j option so you can unpack a 15 Bzip2archive with tar xvfj file.tar.bz2. Applying this patch will be15 bzip2'ed archive with tar xvfj file.tar.bz2. Applying this patch will be 16 16 mentioned later on when the Tar package is installed.</para> 17 17 -
chapter05/fileutils-inst.xml
r624fe951 r32cee45c 4 4 <para>The programs from a statically linked Fileutils package may cause 5 5 segmentation faults on certain systems, if your distribution has 6 Glibc-2.2.3 or higher installed. It alsoseems to happen mostly on machines6 Glibc-2.2.3 or higher installed. It seems to happen mostly on machines 7 7 powered by an AMD CPU, but there is a case or two where an Intel system 8 is affected as well. If your system falls underthis category, try the8 is affected as well. If your system falls in this category, try the 9 9 following fix.</para> 10 10 11 11 <para>Note that in some cases using these sed commands will result in 12 problemsnot being able to compile this package at all, even when your12 not being able to compile this package at all, even when your 13 13 system has an AMD CPU and has Glibc-2.2.3 (or higher) installed. If that's 14 14 the case, you'll need to remove the fileutils-&fileutils-version; directory -
chapter05/gcc-exp.xml
r624fe951 r32cee45c 3 3 4 4 <para><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch:</userinput> 5 This new patch deals withincorrect handling of weak symbols, the6 over-optimization of calls to those weak symbols, an atexit issue and5 This patch deals with the incorrect handling of weak symbols, the 6 over-optimization of calls to those weak symbols, an atexit issue, and 7 7 the __dso_handle symbol required for atexit's proper function.</para> 8 8 -
chapter05/installasuser.xml
r624fe951 r32cee45c 38 38 39 39 <para>This profile makes sure the umask is set to 022 so newly created 40 files and directories will have the correct permission . It is advisable40 files and directories will have the correct permissions. It is advisable 41 41 to keep this setting throughout your LFS installation. Also, the $LFS 42 42 and $LC_ALL environment variables are set. $LFS has been explained in -
chapter05/introduction.xml
r624fe951 r32cee45c 22 22 <para>All the files from this chapter will be installed under the <filename 23 23 class="directory">$LFS/static</filename> directory. By doing it this way, 24 we keep the installation from this chapter sep erate from the final24 we keep the installation from this chapter separate from the final 25 25 installation in the next chapter. Everything done here is only temporarily 26 26 so we don't want it to pollute the to-be LFS system.</para> -
chapter05/make-inst.xml
r624fe951 r32cee45c 15 15 privileges to complete the installation of /mnt/lfs/static/bin/make.</screen></blockquote> 16 16 17 <para>You can safely ignore this warning. make doesn'tneed to be owned by18 group kmem and setgid for the <emphasis>-l</emphasis> option to work (which19 you can use to tellmake not to start any new jobs when a certain load on20 the system is reached).</para>17 <para>You can safely ignore this warning. The make program doesn't actually need to be owned by 18 group kmem and setgid for the <emphasis>-l</emphasis> option to work. (This option 19 tells make not to start any new jobs when a certain load on 20 the system has been reached.)</para> 21 21 22 22 </sect2> -
chapter05/patch-exp.xml
r624fe951 r32cee45c 3 3 4 4 <para><userinput>CPPFLAGS=-D_GNU_SOURCE: </userinput> 5 Adding <userinput>-D_GNU_SOURCE</userinput> to CPPFLAGS command before 6 we configure patch fixes installation of the package on PPC and m68k 7 platforms (that we know of). It also doesn't hurt compilation on other 8 platforms (such as x86) so we do it by default.</para> 5 This flag fixes installation problems of this package on PPC and m68k 6 platforms (that we know of). It doesn't hurt compilation on other 7 platforms (such as x86); so we do it by default.</para> 9 8 10 9 </sect2> -
chapter05/shellutils-inst.xml
r624fe951 r32cee45c 15 15 16 16 <para>You can safely ignore that warning. You need to be logged in as root 17 in order to install su the way sh-utils wants to install it, thatbeing17 in order to install su the way Sh-utils wants to install it, which is being 18 18 suid root. Because we don't need su during chapter 6, and su will be properly 19 installed when we re-install sh-utils in chapter 6 anyways, you can just19 installed when we re-install Sh-utils in chapter 6, you can just 20 20 pretend you didn't see it.</para> 21 21 -
chapter05/utillinux-inst.xml
r624fe951 r32cee45c 1 1 <sect2> 2 <title>Installation of Util- Linux</title>2 <title>Installation of Util-linux</title> 3 3 4 4 <para>We only need the mount and umount programs at the moment, so we won't 5 5 be compiling the entire package.</para> 6 6 7 <para>Install Util- Linux by running the following commands:</para>7 <para>Install Util-linux by running the following commands:</para> 8 8 9 9 <para><screen><userinput>./configure && -
chapter05/whystatic.xml
r624fe951 r32cee45c 3 3 <?dbhtml filename="whystatic.html" dir="chapter05"?> 4 4 5 <para> Thanks to Plasmatic for posting the text on which this is mainly6 based to one of the LFS mailing lists. </para>5 <para>(Thanks to Plasmatic for posting the text on which this is mainly 6 based to one of the LFS mailing lists.)</para> 7 7 8 8 <para>When making (compiling) a program, rather than having to rewrite all the … … 17 17 18 18 <para>However, these libraries can be very large (for example, libc.a 19 can often be around 2.5 MB), so you may not want a separate copy of each19 can often be around 2.5 MB), so you may not want a separate copy of each 20 20 library attached to the program. Just imagine if you had a simple command 21 like ls with an extra 2.5 MB attached to it! Instead of making the library21 like ls with an extra 2.5 MB attached to it! Instead of making the library 22 22 an actual part of the program, or statically linked, the library is kept a 23 23 separate file, which is loaded only when the program needs it. This is what … … 25 25 as the program needs it.</para> 26 26 27 <para>So now we have a 1 KB file and a 2.5MB file, but we still haven't saved any27 <para>So now we have a 1 KB file and a 2.5 MB file, but we still haven't saved any 28 28 space (except maybe RAM until the library is needed). The REAL advantage to 29 29 dynamically linked libraries is that we only need one copy of the library.
Note:
See TracChangeset
for help on using the changeset viewer.