mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
Fix a leftover reference to glibc-build
Text updates. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10995 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
f1dd5475c9
commit
e1c388239f
@ -58,7 +58,7 @@ cd build</userinput></screen>
|
||||
<screen><userinput remap="configure">../configure \
|
||||
--prefix=/tools \
|
||||
--host=$LFS_TGT \
|
||||
--build=$(../glibc-&glibc-version;/scripts/config.guess) \
|
||||
--build=$(../scripts/config.guess) \
|
||||
--disable-profile \
|
||||
--enable-kernel=&min-kernel; \
|
||||
--enable-obsolete-rpc \
|
||||
|
@ -30,22 +30,24 @@
|
||||
name of the target triplet is to run the <command>config.guess</command>
|
||||
script that comes with the source for many packages. Unpack the Binutils
|
||||
sources and run the script: <userinput>./config.guess</userinput> and note
|
||||
the output. For example, for a modern 32-bit Intel processor the
|
||||
output will likely be <emphasis>i686-pc-linux-gnu</emphasis>.</para>
|
||||
the output. For example, for a 32-bit Intel processor the
|
||||
output will be <emphasis>i686-pc-linux-gnu</emphasis>. On a 64-bit
|
||||
system it will be <emphasis>x86_64-pc-linux-gnu</emphasis>.</para>
|
||||
|
||||
<para>Also be aware of the name of the platform's dynamic linker, often
|
||||
referred to as the dynamic loader (not to be confused with the standard
|
||||
linker <command>ld</command> that is part of Binutils). The dynamic linker
|
||||
provided by Glibc finds and loads the shared libraries needed by a program,
|
||||
prepares the program to run, and then runs it. The name of the dynamic
|
||||
linker for a 32-bit Intel machine will be
|
||||
<filename class="libraryfile">ld-linux.so.2</filename>.
|
||||
A sure-fire way to determine the name of the dynamic linker is to
|
||||
inspect a random binary from the host system by running:
|
||||
<userinput>readelf -l <name of binary> | grep interpreter</userinput>
|
||||
and noting the output. The authoritative reference covering all platforms
|
||||
is in the <filename>shlib-versions</filename> file in the root of the Glibc
|
||||
source tree.</para>
|
||||
linker for a 32-bit Intel machine will be <filename
|
||||
class="libraryfile">ld-linux.so.2</filename> (<filename
|
||||
class="libraryfile">ld-linux-x86-64.so.2</filename> for 64-bit systems). A
|
||||
sure-fire way to determine the name of the dynamic linker is to inspect a
|
||||
random binary from the host system by running: <userinput>readelf -l
|
||||
<name of binary> | grep interpreter</userinput> and noting the
|
||||
output. The authoritative reference covering all platforms is in the
|
||||
<filename>shlib-versions</filename> file in the root of the Glibc source
|
||||
tree.</para>
|
||||
</note>
|
||||
|
||||
<para>Some key technical points of how the <xref
|
||||
|
Loading…
Reference in New Issue
Block a user