aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/binutils.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-10-15 19:27:20 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-10-15 19:27:20 +0000
commite0901b3e480803837880db7e51ad6a10131eed46 (patch)
treefb21c74b701044cc6d96cfa9355df26dd40e120f /chapter06/binutils.xml
parent6baa19d5586855d757691071a7368e76762efaf8 (diff)
Add notes to the gcc and binutils sections in Chapter 6
about "link time optimization" and the extra files built by gcc. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10024 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/binutils.xml')
-rw-r--r--chapter06/binutils.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml
index 28144969d..b3f5d7675 100644
--- a/chapter06/binutils.xml
+++ b/chapter06/binutils.xml
@@ -78,6 +78,13 @@ cd ../binutils-build</userinput></screen>
<screen><userinput remap="configure">../binutils-&binutils-version;/configure --prefix=/usr --enable-shared</userinput></screen>
+ <note><para>There is an optional argument to <command>configure</command>,
+ <option>--enable-lto</option>, that can be used to allow the
+ <command>ar</command>, <command>nm</command>, and <command>ranlib</command>
+ commands to accept a <option>--plugin</option> parameter. This is used to
+ allow <command>gcc</command> to do "link time optimization" if specified.
+ No packages in LFS or BLFS currently use this capability.</para></note>
+
<para>Compile the package:</para>
<screen><userinput remap="make">make tooldir=/usr</userinput></screen>