|
@@ -23,20 +23,21 @@
|
|
|
followed by concise descriptions of each program and library the package
|
|
|
installed.</para>
|
|
|
|
|
|
- <para>If using compiler optimizations, please
|
|
|
- review the optimization hint at <ulink url="&hints-root;optimization.txt"/>.
|
|
|
- Compiler optimizations can make a program run slightly faster, but they may
|
|
|
- also cause compilation difficulties and problems when running the program.
|
|
|
- If a package refuses to compile when using optimization, try to compile it
|
|
|
- without optimization and see if that fixes the problem. Even if the package
|
|
|
- does compile when using optimization, there is the risk it may have been
|
|
|
- compiled incorrectly because of the complex interactions between the code
|
|
|
- and build tools. Also note that the <option>-march</option> and
|
|
|
- <option>-mtune</option> options may cause problems with the toolchain packages
|
|
|
- (Binutils, GCC and Glibc). The small potential gains achieved in using
|
|
|
- compiler optimizations are often outweighed by the risks. First-time builders
|
|
|
- of LFS are encouraged to build without custom optimizations. The subsequent
|
|
|
- system will still run very fast and be stable at the same time.</para>
|
|
|
+ <para>If using compiler optimizations, please review the optimization hint at
|
|
|
+ <ulink url="&hints-root;optimization.txt"/>. Compiler optimizations can make
|
|
|
+ a program run slightly faster, but they may also cause compilation
|
|
|
+ difficulties and problems when running the program. If a package refuses to
|
|
|
+ compile when using optimization, try to compile it without optimization and
|
|
|
+ see if that fixes the problem. Even if the package does compile when using
|
|
|
+ optimization, there is the risk it may have been compiled incorrectly because
|
|
|
+ of the complex interactions between the code and build tools. Also note that
|
|
|
+ the <option>-march</option> and <option>-mtune</option> options using values
|
|
|
+ not specified in the book have not been tested. This may cause problems with
|
|
|
+ the toolchain packages (Binutils, GCC and Glibc). The small potential gains
|
|
|
+ achieved in using compiler optimizations are often outweighed by the risks.
|
|
|
+ First-time builders of LFS are encouraged to build without custom
|
|
|
+ optimizations. The subsequent system will still run very fast and be stable
|
|
|
+ at the same time.</para>
|
|
|
|
|
|
<para>The order that packages are installed in this chapter needs to be
|
|
|
strictly followed to ensure that no program accidentally acquires a path
|