Changeset 8541
- Timestamp:
- 04/23/08 12:33:53 (3 months ago)
- Files:
-
- trunk/BOOK/chapter01/changelog.xml (modified) (1 diff)
- trunk/BOOK/chapter05/glibc.xml (modified) (1 diff)
- trunk/BOOK/chapter06/glibc.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/BOOK/chapter01/changelog.xml
r8540 r8541 40 40 <para>2008-04-23</para> 41 41 <itemizedlist> 42 <listitem> 43 <para>[jhuntwork] - Use -mtune=native for glibc. We don't 44 want our libc optimized for 486. It should be optimized 45 for the local machine.</para> 46 </listitem> 42 47 <listitem> 43 48 <para>[jhuntwork] - Updated Autoconf to 2.62.</para> trunk/BOOK/chapter05/glibc.xml
r8389 r8541 56 56 Instead of overriding completely what Glibc's internal build system uses 57 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 remap="configure">echo "CFLAGS += -march=i486" > configparms</userinput></screen> 58 making use of the special file <filename>configparms</filename>. The 59 -mtune=native flag is also necessary to reset a reasonable value for -mtune 60 that is changed when setting -march.</para> 61 62 <screen><userinput remap="configure">echo "CFLAGS += -march=i486 -mtune=native" > configparms</userinput></screen> 61 63 62 64 <para>Next, prepare Glibc for compilation:</para> trunk/BOOK/chapter06/glibc.xml
r8393 r8541 105 105 <para>Again, add the needed compiler flag to CFLAGS:</para> 106 106 107 <screen><userinput remap="configure">echo "CFLAGS += -march=i486 " > configparms</userinput></screen>107 <screen><userinput remap="configure">echo "CFLAGS += -march=i486 -mtune=native" > configparms</userinput></screen> 108 108 109 109 <para>Prepare Glibc for compilation:</para>
