Changeset 8375
- Timestamp:
- 09/15/07 18:21:26 (10 months ago)
- Files:
-
- trunk/BOOK/chapter01/changelog.xml (modified) (1 diff)
- trunk/BOOK/chapter01/whatsnew.xml (modified) (1 diff)
- trunk/BOOK/chapter05/coreutils.xml (modified) (1 diff)
- trunk/BOOK/chapter05/glibc.xml (modified) (1 diff)
- trunk/BOOK/chapter05/gzip.xml (modified) (1 diff)
- trunk/BOOK/chapter06/coreutils.xml (modified) (1 diff)
- trunk/BOOK/chapter06/glibc.xml (modified) (1 diff)
- trunk/BOOK/chapter06/gzip.xml (modified) (1 diff)
- trunk/BOOK/packages.ent (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/BOOK/chapter01/changelog.xml
r8374 r8375 41 41 <itemizedlist> 42 42 <listitem> 43 <para>[jhuntwork] - Upgrade to Glibc-2.6.1. Fixes 44 <ulink url="&lfs-ticket-root;2018">#2018</ulink>. 45 Thanks to Matthew Burgess for preparing a discrete patch, 46 Robert Connolly and Dan Nicholson for investigating how best 47 to adjust CFLAGS, and Greg Schafer for showing the technical 48 benefits of using CFLAGS with Glibc.</para> 49 </listitem> 50 <listitem> 43 51 <para>[jhuntwork] - Upgrade to GCC-4.2.1. Fixes 44 52 <ulink url="&lfs-ticket-root;2002">#2002</ulink>. trunk/BOOK/chapter01/whatsnew.xml
r8374 r8375 84 84 <para>Gettext &gettext-version;</para> 85 85 </listitem>--> 86 < !--<listitem>86 <listitem> 87 87 <para>Glibc &glibc-version;</para> 88 </listitem> -->88 </listitem> 89 89 <!--<listitem> 90 90 <para>Grep &grep-version;</para> trunk/BOOK/chapter05/coreutils.xml
r8366 r8375 44 44 <title>Installation of Coreutils</title> 45 45 46 <para>The version of the function <quote>futimens</quote> used 47 by Coreutils is incompatible with the version that current 48 Glibc provides, so we'll rename the function:</para> 49 50 <screen><userinput>for file in src/{copy,touch}.c lib/utimens.{c,h} ; do \ 51 cp -v $file{,.orig} 52 sed 's/futimens/gl_&/' $file.orig > $file 53 done</userinput></screen> 54 46 55 <para>Prepare Coreutils for compilation:</para> 47 56 trunk/BOOK/chapter05/glibc.xml
r8366 r8375 49 49 <screen><userinput>mkdir -v ../glibc-build 50 50 cd ../glibc-build</userinput></screen> 51 52 <para>Because Glibc no longer supports i386, its developers say to use the 53 compiler flag <parameter>-march=i486</parameter> when building it for x86 54 machines. There are several ways to accomplish that, but testing shows that 55 the flag is best placed inside the build variable <quote>CFLAGS</quote>. 56 Instead of overriding completely what Glibc's internal build system uses 57 for CFLAGS, append the new flag to the existing contents of CFLAGS by 58 making use of the special file <filename>configparms</filename>:</para> 59 60 <screen><userinput>echo "CFLAGS += -march=i486" > configparms</userinput></screen> 51 61 52 62 <para>Next, prepare Glibc for compilation:</para> trunk/BOOK/chapter05/gzip.xml
r8366 r8375 44 44 <title>Installation of Gzip</title> 45 45 46 <para>The version of the function <quote>futimens</quote> used 47 by Gzip is incompatible with the version that current 48 Glibc provides, so we'll rename the function:</para> 49 50 <screen><userinput>for file in gzip.c lib/utimens.{c,h} ; do \ 51 cp -v $file{,.orig} 52 sed 's/futimens/gl_&/' $file.orig > $file 53 done</userinput></screen> 54 46 55 <para>Prepare Gzip for compilation:</para> 47 56 trunk/BOOK/chapter06/coreutils.xml
r8366 r8375 41 41 <sect2 role="installation"> 42 42 <title>Installation of Coreutils</title> 43 44 <para>The version of the function <quote>futimens</quote> used 45 by Coreutils is incompatible with the version that current 46 Glibc provides, so we'll rename the function:</para> 47 48 <screen><userinput>sed -i 's/futimens/gl_&/' src/{copy,touch}.c lib/utimens.{c,h}</userinput></screen> 43 49 44 50 <para>A known issue with the <command>uname</command> program from trunk/BOOK/chapter06/glibc.xml
r8366 r8375 102 102 <screen><userinput>mkdir -v ../glibc-build 103 103 cd ../glibc-build</userinput></screen> 104 105 <para>Again, add the needed compiler flag to CFLAGS:</para> 106 107 <screen><userinput>echo "CFLAGS += -march=i486" > configparms</userinput></screen> 104 108 105 109 <para>Prepare Glibc for compilation:</para> trunk/BOOK/chapter06/gzip.xml
r8366 r8375 42 42 <title>Installation of Gzip</title> 43 43 44 <para>The version of the function <quote>futimens</quote> used 45 by Gzip is incompatible with the version that current 46 Glibc provides, so we'll rename the function:</para> 47 48 <screen><userinput>sed -i 's/futimens/gl_&/' gzip.c lib/utimens.{c,h}</userinput></screen> 49 44 50 <para>Prepare Gzip for compilation:</para> 45 51 trunk/BOOK/packages.ent
r8374 r8375 191 191 <!ENTITY gettext-ch6-sbu "1 SBU"> 192 192 193 <!ENTITY glibc-version "2. 5.1">194 <!ENTITY glibc-size "15, 060KB">193 <!ENTITY glibc-version "2.6.1"> 194 <!ENTITY glibc-size "15,398 KB"> 195 195 <!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.bz2"> 196 <!ENTITY glibc-md5 "1 0ea72e2c4d56c6aa13dabb7c4f9b195">196 <!ENTITY glibc-md5 "11cf6d3fc86dbe0890b8d00372eb6286"> 197 197 <!ENTITY glibc-home "&gnu-software;libc/"> 198 198 <!ENTITY glibc-ch5-du "342 MB"> … … 201 201 <!ENTITY glibc-ch6-sbu "19.5 SBU testsuite included"> 202 202 <!ENTITY glibc-libidn-version "&glibc-version;"> 203 <!ENTITY glibc-libidn-size "1 23KB">204 <!ENTITY glibc-libidn-url "&gnu;glibc/glibc-libidn-&glibc-libidn-version;.tar. gz">205 <!ENTITY glibc-libidn-md5 "5 1b46f055908a5f8e409c4200d828093">203 <!ENTITY glibc-libidn-size "100 KB"> 204 <!ENTITY glibc-libidn-url "&gnu;glibc/glibc-libidn-&glibc-libidn-version;.tar.bz2"> 205 <!ENTITY glibc-libidn-md5 "503f1315afd808728ebaa75b3d87a7d9"> 206 206 <!ENTITY glibc-libidn-home " "> 207 207
