mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-20 04:09:21 +01:00
Chapter 5 - Binutils Pass 1: Added explanation for "make configure-host".
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2978 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
a9103442e0
commit
3301fb69f7
@ -47,9 +47,14 @@ when linking statically.</para></listitem>
|
|||||||
<screen><userinput>make configure-host
|
<screen><userinput>make configure-host
|
||||||
make LDFLAGS="-all-static"</userinput></screen>
|
make LDFLAGS="-all-static"</userinput></screen>
|
||||||
|
|
||||||
<para>The meaning of the make option:</para>
|
<para>The meaning of the make options:</para>
|
||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
<listitem><para><userinput>configure-host</userinput>: This forces all the
|
||||||
|
subdirectories to be configured immediately. A statically linked build will
|
||||||
|
fail without this. We therefore use this option to work around the
|
||||||
|
problem.</para></listitem>
|
||||||
|
|
||||||
<listitem><para><userinput>LDFLAGS="-all-static"</userinput>: This tells the
|
<listitem><para><userinput>LDFLAGS="-all-static"</userinput>: This tells the
|
||||||
linker that all the Binutils programs should be linked statically. However,
|
linker that all the Binutils programs should be linked statically. However,
|
||||||
strictly speaking, <userinput>"-all-static"</userinput> is first passed to the
|
strictly speaking, <userinput>"-all-static"</userinput> is first passed to the
|
||||||
|
Loading…
Reference in New Issue
Block a user