|
@@ -6,7 +6,7 @@
|
|
|
based to one of the LFS mailing lists.</para>
|
|
|
|
|
|
<para>When making (compiling) a program, rather than having to rewrite all the
|
|
|
-functions for dealing with the kernel, hardware, files, etc. everytime you
|
|
|
+functions for dealing with the kernel, hardware, files, etc. every time you
|
|
|
write a new program, all these basic functions are instead kept in libraries.
|
|
|
glibc, which you install later, is one of these major libraries, which contain
|
|
|
code for all the basic functions programs use, like opening files, printing
|
|
@@ -16,11 +16,11 @@ program, so that it can use any of the functions that the library
|
|
|
has.</para>
|
|
|
|
|
|
<para>However, these libraries can be very large (for example, libc.a
|
|
|
-from can often be around 2.5MB), so you may not want a seperate copy of
|
|
|
+from can often be around 2.5MB), so you may not want a separate copy of
|
|
|
each library attached to the
|
|
|
program. Just imagine if you had a simple command like ls with an extra 2.5MB
|
|
|
attached to it! Instead of making the library an actual part of the
|
|
|
-program, or Statically Linked, the library is kept a seperate file,
|
|
|
+program, or Statically Linked, the library is kept a separate file,
|
|
|
which is loaded only when the program needs it. This is what we call Dynamically
|
|
|
Linked, as the library is loaded and unloaded dynamically, as the program needs
|
|
|
it.</para>
|
|
@@ -50,7 +50,7 @@ them, hence the <userinput>--enable-static-link</userinput>,
|
|
|
through Chapter 5. Once in Chapter 6, the first thing we do is build the
|
|
|
main set of system libraries, glibc. Once this is made we start rebuilding
|
|
|
all the programs we just did in Chapter 5, but this time dynamically linked,
|
|
|
-so that we can take advantage of the space saving opportunites.</para>
|
|
|
+so that we can take advantage of the space saving opportunities.</para>
|
|
|
|
|
|
<para>And there you have it, that's why you need to use those weird
|
|
|
<userinput>-static</userinput> flags. If you try building everything
|