Changeset 3f11f57
- Timestamp:
- 01/31/2016 08:01:07 PM (8 years ago)
- Branches:
- 7.9-systemd
- Children:
- 778f20d
- Parents:
- 5c14293
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/glibc.xml
r5c14293 r3f11f57 56 56 <para>Next, prepare Glibc for compilation:</para> 57 57 58 <screen><userinput remap="configure">../configure 59 --prefix=/tools 60 --host=$LFS_TGT 61 --build=$(../ glibc-&glibc-version;/scripts/config.guess) \62 --disable-profile 63 --enable-kernel=&min-kernel; 64 --enable-obsolete-rpc 65 --with-headers=/tools/include 66 libc_cv_forced_unwind=yes 67 libc_cv_ctors_header=yes 58 <screen><userinput remap="configure">../configure \ 59 --prefix=/tools \ 60 --host=$LFS_TGT \ 61 --build=$(../scripts/config.guess) \ 62 --disable-profile \ 63 --enable-kernel=&min-kernel; \ 64 --enable-obsolete-rpc \ 65 --with-headers=/tools/include \ 66 libc_cv_forced_unwind=yes \ 67 libc_cv_ctors_header=yes \ 68 68 libc_cv_c_cleanup=yes</userinput></screen> 69 69 … … 72 72 73 73 <varlistentry> 74 <term><parameter>--host=$LFS_TGT, --build=$(../ glibc-&glibc-version;/scripts/config.guess)</parameter></term>74 <term><parameter>--host=$LFS_TGT, --build=$(../scripts/config.guess)</parameter></term> 75 75 <listitem> 76 76 <para>The combined effect of these switches is that Glibc's build system -
chapter05/toolchaintechnotes.xml
r5c14293 r3f11f57 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 -
general.ent
r5c14293 r3f11f57 1 <!ENTITY version "201601 29-systemd">1 <!ENTITY version "20160131-systemd"> 2 2 <!ENTITY short-version "systemd"> <!-- Used in dbus chapter, change to x.y for release --> 3 <!ENTITY releasedate "January 29, 2016">3 <!ENTITY releasedate "January 31, 2016"> 4 4 <!ENTITY copyrightdate "1999-2016"><!-- jhalfs needs a literal dash, not – --> 5 5 <!ENTITY milestone "7.9">
Note:
See TracChangeset
for help on using the changeset viewer.