diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2012-04-25 19:26:21 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2012-04-25 19:26:21 +0000 |
commit | 1a3e6a31a791143c3075dab21a5d47a0f344cce5 (patch) | |
tree | 6537fe002b3adb78f6bb53b95d8cf53192695be7 /chapter05/binutils-pass1.xml | |
parent | e625c495b0a4c08dcdde896af680fd787a42fa2e (diff) |
Merge changes developed and tested in the jh branch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/binutils-pass1.xml')
-rw-r--r-- | chapter05/binutils-pass1.xml | 48 |
1 files changed, 34 insertions, 14 deletions
diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml index 610486fa5..b6de18b96 100644 --- a/chapter05/binutils-pass1.xml +++ b/chapter05/binutils-pass1.xml @@ -76,15 +76,44 @@ cd ../binutils-build</userinput></screen> <para>Now prepare Binutils for compilation:</para> -<screen><userinput remap="configure">../binutils-&binutils-version;/configure --target=$LFS_TGT \ - --prefix=/tools \ - --disable-nls \ - --disable-werror</userinput></screen> +<screen><userinput remap="configure"> +../binutils-&binutils-version;/configure \ + --prefix=/tools \ + --with-sysroot=$LFS \ + --with-lib-path=/tools/lib \ + --target=$LFS_TGT \ + --disable-nls \ + --disable-werror</userinput></screen> <variablelist> <title>The meaning of the configure options:</title> <varlistentry> + <term><parameter>--prefix=/tools</parameter></term> + <listitem> + <para>This tells the configure script to prepare to install the + Binutils programs in the <filename class="directory">/tools</filename> + directory.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><parameter>--with-sysroot=$LFS</parameter></term> + <listitem> + <para>For cross compilation, this tells the build system to look in + $LFS for the target system libraries as needed.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><parameter>--with-lib-path=/tools/lib</parameter></term> + <listitem> + <para>This specifies which library path the linker should be + configured to use.</para> + </listitem> + </varlistentry> + + <varlistentry> <term><envar>--target=$LFS_TGT</envar></term> <listitem> <para>Because the machine description in the <envar>LFS_TGT</envar> @@ -96,22 +125,13 @@ cd ../binutils-build</userinput></screen> </varlistentry> <varlistentry> - <term><parameter>--prefix=/tools</parameter></term> - <listitem> - <para>This tells the configure script to prepare to install the - Binutils programs in the <filename class="directory">/tools</filename> - directory.</para> - </listitem> - </varlistentry> - - <varlistentry> <term><parameter>--disable-nls</parameter></term> <listitem> <para>This disables internationalization as i18n is not needed for the temporary tools.</para> </listitem> </varlistentry> - + <varlistentry> <term><parameter>--disable-werror</parameter></term> <listitem> |