- Timestamp:
- 07/29/2002 06:12:02 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, 12.2, 12.2-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/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 53133eb
- Parents:
- 2a601b14
- Location:
- chapter05
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/diffutils-inst.xml
r2a601b14 rfde5bc7 4 4 <para>Install Diffutils by running the following commands:</para> 5 5 6 <para><screen><userinput> CPPFLAGS=-Dre_max_failures=re_max_failures2 \7 ./configure --prefix=$LFS/static --disable-nls &&8 make LDFLAGS=-static&&6 <para><screen><userinput>LDFLAGS=-static CPPFLAGS=-Dre_max_failures=re_max_failures2 \ 7 ./configure --prefix=$LFS/static --disable-nls && 8 make && 9 9 make install</userinput></screen></para> 10 10 -
chapter05/fileutils-inst.xml
r2a601b14 rfde5bc7 26 26 <para>Install Fileutils by running the following commands:</para> 27 27 28 <para><screen><userinput>./configure --disable-nls --prefix=$LFS/static && 29 make LDFLAGS=-static && 28 <para><screen><userinput>LDFLAGS=-static \ 29 ./configure --disable-nls --prefix=$LFS/static && 30 make && 30 31 make install</userinput></screen></para> 31 32 -
chapter05/findutils-inst.xml
r2a601b14 rfde5bc7 10 10 <para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch && 11 11 CPPFLAGS=-Dre_max_failures=re_max_failures2 \ 12 ./configure --prefix=$LFS/static &&12 ./configure --prefix=$LFS/static && 13 13 make LDFLAGS=-static && 14 14 make install</userinput></screen></para> -
chapter05/gawk-inst.xml
r2a601b14 rfde5bc7 6 6 7 7 <para><screen><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2 \ 8 ./configure --prefix=$LFS/static --disable-nls &&8 ./configure --prefix=$LFS/static --disable-nls && 9 9 make LDFLAGS=-static && 10 10 make install</userinput></screen></para> -
chapter05/gcc-exp.xml
r2a601b14 rfde5bc7 19 19 exception handling for multithreaded code.</para> 20 20 21 <para><userinput>echo "#define HAVE_GAS_HIDDEN 1":</userinput> 22 This defines the .hidden assembler directive so that we don't build 23 a faulty Glibc later on.</para> 24 21 25 <para><userinput>ln -s gcc $LFS/static/bin/cc:</userinput> This 22 26 creates the $LFS/static/bin/gcc symlink which some packages need.</para> -
chapter05/gcc-inst.xml
r2a601b14 rfde5bc7 15 15 ../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c \ 16 16 --disable-nls --disable-shared --enable-threads=posix && 17 echo "#define HAVE_GAS_HIDDEN 1" >> gcc/auto-host.h && 17 18 make BOOT_LDFLAGS=-static bootstrap && 18 19 make prefix=$LFS/static install && -
chapter05/grep-inst.xml
r2a601b14 rfde5bc7 4 4 <para>Install Grep by running the following commands:</para> 5 5 6 <para><screen><userinput> CPPFLAGS=-Dre_max_failures=re_max_failures2 \7 ./configure --prefix=$LFS/static --disable-nls \6 <para><screen><userinput>LDFLAGS=-static CPPFLAGS=-Dre_max_failures=re_max_failures2 \ 7 ./configure --prefix=$LFS/static --disable-nls \ 8 8 --disable-perl-regexp && 9 make LDFLAGS=-static&&9 make && 10 10 make install</userinput></screen></para> 11 11 -
chapter05/patch-inst.xml
r2a601b14 rfde5bc7 5 5 6 6 <para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE \ 7 ./configure --prefix=$LFS/static &&7 ./configure --prefix=$LFS/static && 8 8 make LDFLAGS=-static && 9 9 make install</userinput></screen></para> -
chapter05/sed-inst.xml
r2a601b14 rfde5bc7 5 5 6 6 <para><screen><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2 \ 7 ./configure --prefix=$LFS/static &&7 ./configure --prefix=$LFS/static && 8 8 make LDFLAGS=-static && 9 9 make install</userinput></screen></para> -
chapter05/texinfo-inst.xml
r2a601b14 rfde5bc7 4 4 <para>Install Texinfo by running the following commands:</para> 5 5 6 <para><screen><userinput> ./configure --prefix=$LFS/static \6 <para><screen><userinput>LDFLAGS=-static ./configure --prefix=$LFS/static \ 7 7 --disable-nls && 8 make LDFLAGS=-static&&8 make && 9 9 make install</userinput></screen></para> 10 10 -
chapter05/whystatic.xml
r2a601b14 rfde5bc7 20 20 library attached to the program. Just imagine if you had a simple command 21 21 like ls with an extra 2.5 MB attached to it! Instead of making the library 22 an actual part of the program, or statically linked, the library is kepta22 an actual part of the program, or statically linked, the library is stored as a 23 23 separate file, which is loaded only when the program needs it. This is what 24 24 we call dynamically linked, as the library is loaded and unloaded dynamically,
Note:
See TracChangeset
for help on using the changeset viewer.