aboutsbus.xml 1.5 KB

123456789101112131415161718192021222324252627282930
  1. <sect1 id="ch02-aboutsbus">
  2. <title>About SBUs</title>
  3. <?dbhtml filename="aboutsbus.html" dir="chapter02"?>
  4. <para>Most people would like to know beforehand how long it approximately
  5. takes to compile and install each package. But "Linux from Scratch" is built
  6. on so many different systems, it is not possible to give actual times that are
  7. anywhere near accurate: the biggest package (Glibc) won't take more than
  8. twenty minutes on the fastest systems, but will take something like three days
  9. on the slowest -- no kidding. So instead of giving actual times, we've come up
  10. with the idea of using the <emphasis>Static Binutils Unit</emphasis>
  11. (abbreviated to <emphasis>SBU</emphasis>).</para>
  12. <para>It works like this: the first package you compile in this book is the
  13. statically linked Binutils in Chapter 5, and the time it takes to compile this
  14. package is what we call the "Static Binutils Unit" or "SBU". All other compile
  15. times will be expressed relative to this time.</para>
  16. <para>For example, the time it takes to build the static version of GCC is 3.9
  17. SBU. This means that if on your system it took 10 minutes to compile and
  18. install the static Binutils, then you know it will take nearly 40 minutes to
  19. build the static GCC. Fortunately, most build times are much shorter than the
  20. one of Binutils.</para>
  21. <para>Note that SBUs don't work well for SMP-based machines. But if you're so
  22. lucky as to have multiple processors, chances are that your system is so fast
  23. that you don't mind.</para>
  24. </sect1>