Changeset 6e88633 for chapter05/toolchaintechnotes.xml
- Timestamp:
- 12/03/2008 10:46:04 PM (15 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, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 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:
- 4e82d47
- Parents:
- b0e1dc8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/toolchaintechnotes.xml
rb0e1dc8 r6e88633 28 28 <important> 29 29 <para>Before continuing, be aware of the name of the working platform, 30 often referred to as the target triplet. Many times, the target31 triplet will probably be <emphasis>i686-pc-linux-gnu</emphasis>. A32 s imple way to determine the name of the target triplet is to run the33 <command>config.guess</command> script that comes with the source for34 many packages. Unpack the Binutils sources and run the script:35 <userinput>./config.guess</userinput> and note the output.</para>30 often referred to as the target triplet. A simple way to determine the 31 name of the target triplet is to run the <command>config.guess</command> 32 script that comes with the source for many packages. Unpack the Binutils 33 sources and run the script: <userinput>./config.guess</userinput> and note 34 the output. For example, for a modern 32-bit Intel processor the 35 output will likely be <emphasis>i686-pc-linux-gnu</emphasis>.</para> 36 36 37 37 <para>Also be aware of the name of the platform's dynamic linker, often … … 40 40 provided by Glibc finds and loads the shared libraries needed by a program, 41 41 prepares the program to run, and then runs it. The name of the dynamic 42 linker will usually be <filename class="libraryfile">ld-linux.so.2</filename>. 43 On platforms that are less prevalent, the name might be <filename 44 class="libraryfile">ld.so.1</filename>, and newer 64 bit platforms might 45 be named something else entirely. The name of the platform's dynamic linker 46 can be determined by looking in the <filename class="directory">/lib</filename> 47 directory on the host system. A sure-fire way to determine the name is to 42 linker for a 32-bit Intel machine will be 43 <filename class="libraryfile">ld-linux.so.2</filename>. 44 A sure-fire way to determine the name of the dynamic linker is to 48 45 inspect a random binary from the host system by running: 49 46 <userinput>readelf -l <name of binary> | grep interpreter</userinput>
Note:
See TracChangeset
for help on using the changeset viewer.