aboutsbus.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <sect1 id="prepare-aboutsbus">
  2. <title>About SBUs</title>
  3. <para>Most people would like to know beforehand how long it approximately
  4. takes to compile and install each package. But "Linux from Scratch" is built
  5. on so many different systems, it is not possible to give actual times that are
  6. anywhere near accurate: the biggest package (Glibc) won't take more than
  7. twenty minutes on the fastest systems, but will take something like three days
  8. on the slowest -- no kidding. So instead of giving actual times, we've come up
  9. with the idea of using the <emphasis>Static Binutils Unit</emphasis>
  10. (abbreviated to <emphasis>SBU</emphasis>).</para>
  11. <para>It works like this: the first package you compile in this book is the
  12. statically linked Binutils in <xref linkend="chapter-temporary-tools"/>, and the time it
  13. takes to compile this package is what we call the "Static Binutils Unit" or
  14. "SBU". All other compile times will be expressed relative to this time.</para>
  15. <para>For example, the time it takes to build the static version of GCC is
  16. &gcc-time-tools-pass1;s. This means that if on your system it took 10 minutes
  17. to compile and install the static Binutils, then you know it will take
  18. approximately 45 minutes to build the static GCC. Fortunately, most build times
  19. are much shorter than the one of Binutils.</para>
  20. <para>Note that if the system compiler on your host is GCC-2 based, the SBUs
  21. listed may end up being somewhat understated. This is because the SBU is based
  22. on the very first package, compiled with the old GCC, while the rest of the
  23. system is compiled with the newer GCC-&gcc-version; which is known to be
  24. approximately 30% slower.</para>
  25. <para>Also note that SBUs don't work well for SMP-based machines. But if you're
  26. so lucky as to have multiple processors, chances are that your system is so fast
  27. that you won't mind.</para>
  28. <para>If you wish to see actual timings for specific machines, have a look at
  29. <ulink url="&lfs-root;~bdubbs/"/>.</para>
  30. </sect1>