Changeset e1c3882
- Timestamp:
- 01/31/2016 04:19:36 PM (8 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 418b038
- Parents:
- f1dd547
- Location:
- chapter05
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/glibc.xml
rf1dd547 re1c3882 59 59 --prefix=/tools \ 60 60 --host=$LFS_TGT \ 61 --build=$(../ glibc-&glibc-version;/scripts/config.guess)\61 --build=$(../scripts/config.guess) \ 62 62 --disable-profile \ 63 63 --enable-kernel=&min-kernel; \ -
chapter05/toolchaintechnotes.xml
rf1dd547 re1c3882 31 31 script that comes with the source for many packages. Unpack the Binutils 32 32 sources and run the script: <userinput>./config.guess</userinput> and note 33 the output. For example, for a modern 32-bit Intel processor the 34 output will likely be <emphasis>i686-pc-linux-gnu</emphasis>.</para> 33 the output. For example, for a 32-bit Intel processor the 34 output will be <emphasis>i686-pc-linux-gnu</emphasis>. On a 64-bit 35 system it will be <emphasis>x86_64-pc-linux-gnu</emphasis>.</para> 35 36 36 37 <para>Also be aware of the name of the platform's dynamic linker, often … … 39 40 provided by Glibc finds and loads the shared libraries needed by a program, 40 41 prepares the program to run, and then runs it. The name of the dynamic 41 linker for a 32-bit Intel machine will be 42 <filename class="libraryfile">ld-linux.so.2</filename>. 43 A sure-fire way to determine the name of the dynamic linker is to 44 inspect a random binary from the host system by running: 45 <userinput>readelf -l <name of binary> | grep interpreter</userinput> 46 and noting the output. The authoritative reference covering all platforms 47 is in the <filename>shlib-versions</filename> file in the root of the Glibc 48 source tree.</para> 42 linker for a 32-bit Intel machine will be <filename 43 class="libraryfile">ld-linux.so.2</filename> (<filename 44 class="libraryfile">ld-linux-x86-64.so.2</filename> for 64-bit systems). A 45 sure-fire way to determine the name of the dynamic linker is to inspect a 46 random binary from the host system by running: <userinput>readelf -l 47 <name of binary> | grep interpreter</userinput> and noting the 48 output. The authoritative reference covering all platforms is in the 49 <filename>shlib-versions</filename> file in the root of the Glibc source 50 tree.</para> 49 51 </note> 50 52
Note:
See TracChangeset
for help on using the changeset viewer.