Changeset 1218687
- Timestamp:
- 07/23/2007 05:09:53 PM (17 years ago)
- Children:
- 2b75709a
- Parents:
- 8e6333e
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r8e6333e r1218687 38 38 39 39 <listitem> 40 <para>2007-07-23</para> 41 <itemizedlist> 42 <listitem> 43 <para>[jhuntwork] - Initial changes to build x86_64 natively.</para> 44 </listitem> 45 </itemizedlist> 46 </listitem> 47 48 <listitem> 40 49 <para>2007-07-17</para> 41 50 <itemizedlist> -
chapter03/packages.xml
r8e6333e r1218687 231 231 </varlistentry> 232 232 233 <varlistentry>233 <!-- <varlistentry> 234 234 <term>GRUB (&grub-version;) - <token>&grub-size;</token>:</term> 235 235 <listitem> … … 238 238 <para>MD5 sum: <literal>&grub-md5;</literal></para> 239 239 </listitem> 240 </varlistentry> 240 </varlistentry> --> 241 241 242 242 <varlistentry> -
chapter03/patches.xml
r8e6333e r1218687 92 92 93 93 <varlistentry> 94 <term>GCC Specs Patch - <token>&gcc-specs-patch-size;</token>:</term> 95 <listitem> 96 <para>Download: <ulink url="&patches-root;&gcc-specs-patch;"/></para> 97 <para>MD5 sum: <literal>&gcc-specs-patch-md5;</literal></para> 94 <term>GCC 64-bit Specs Patch - <token>&gcc-pure64-specs-patch-size;</token>:</term> 95 <listitem> 96 <para>Download: <ulink url="&patches-root;&gcc-pure64-specs-patch;"/></para> 97 <para>MD5 sum: <literal>&gcc-pure64-specs-patch-md5;</literal></para> 98 </listitem> 99 </varlistentry> 100 101 <varlistentry> 102 <term>GCC Pure64 Patch - <token>&gcc-pure64-patch-size;</token>:</term> 103 <listitem> 104 <para>Download: <ulink url="&patches-root;&gcc-pure64-patch;"/></para> 105 <para>MD5 sum: <literal>&gcc-pure64-patch-md5;</literal></para> 98 106 </listitem> 99 107 </varlistentry> … … 123 131 </varlistentry> 124 132 125 <varlistentry>133 <!-- <varlistentry> 126 134 <term>GRUB Disk Geometry Patch - <token>&grub-geometry-patch-size;</token>:</term> 127 135 <listitem> … … 129 137 <para>MD5 sum: <literal>&grub-geometry-patch-md5;</literal></para> 130 138 </listitem> 131 </varlistentry> 139 </varlistentry> --> 132 140 133 141 <varlistentry> -
chapter05/adjusting.xml
r8e6333e r1218687 49 49 50 50 <!-- Ampersands are needed to allow copy and paste --> 51 <screen><userinput>gcc -dumpspecs | sed 's@ ^/lib/ld-linux.so.2@/tools&@g' \51 <screen><userinput>gcc -dumpspecs | sed 's@/lib/ld-linux-x86-64.so.2@/tools&@g' \ 52 52 > `dirname $(gcc -print-libgcc-file-name)`/specs</userinput></screen> 53 53 … … 85 85 86 86 <screen><computeroutput>[Requesting program interpreter: 87 /tools/lib/ld-linux .so.2]</computeroutput></screen>87 /tools/lib/ld-linux-x86-64.so.2]</computeroutput></screen> 88 88 89 89 <para>Note that <filename class="directory">/tools/lib</filename> -
chapter05/binutils-pass1.xml
r8e6333e r1218687 61 61 62 62 <screen><userinput>CC="gcc -B/usr/bin/" ../binutils-&binutils-version;/configure \ 63 --prefix=/tools --disable-nls </userinput></screen>63 --prefix=/tools --disable-nls --disable-multilib</userinput></screen> 64 64 65 65 <variablelist> … … 91 91 <para>This disables internationalization as i18n is not needed for the 92 92 temporary tools.</para> 93 </listitem> 94 </varlistentry> 95 96 <varlistentry> 97 <term><parameter>--disable-multilib</parameter></term> 98 <listitem> 99 <para>We currently only want to build support for 64-bit libraries.</para> 93 100 </listitem> 94 101 </varlistentry> -
chapter05/binutils-pass2.xml
r8e6333e r1218687 46 46 47 47 <screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools \ 48 --disable-nls --with-lib-path=/tools/lib</userinput></screen> 48 --disable-nls --with-lib-path=/tools/lib \ 49 --disable-multilib</userinput></screen> 49 50 50 51 <variablelist> -
chapter05/gcc-pass1.xml
r8e6333e r1218687 38 38 <title>Installation of GCC</title> 39 39 40 <para>Apply a small patch that changes the default location for 41 64-bit libraries:</para> 42 43 <screen><userinput>patch -Np1 -i ../&gcc-pure64-patch;</userinput></screen> 44 40 45 <para>The GCC documentation recommends building GCC outside of the 41 46 source directory in a dedicated build directory:</para> … … 48 53 <screen><userinput>CC="gcc -B/usr/bin/" ../gcc-&gcc-version;/configure --prefix=/tools \ 49 54 --with-local-prefix=/tools --disable-nls --enable-shared \ 50 --enable-languages=c </userinput></screen>55 --enable-languages=c --disable-multilib</userinput></screen> 51 56 52 57 <variablelist> … … 91 96 <listitem> 92 97 <para>This option ensures that only the C compiler is built.</para> 98 </listitem> 99 </varlistentry> 100 101 <varlistentry> 102 <term><parameter>--disable-multilib</parameter></term> 103 <listitem> 104 <para>We currently only want to build support for 64-bit libraries.</para> 93 105 </listitem> 94 106 </varlistentry> -
chapter05/gcc-pass2.xml
r8e6333e r1218687 87 87 <para>Apply the following patch to change the location of GCC's default 88 88 dynamic linker (typically <filename 89 class="libraryfile">ld-linux .so.2</filename>):</para>90 91 <screen><userinput>patch -Np1 -i ../&gcc- specs-patch;</userinput></screen>89 class="libraryfile">ld-linux-x86-64.so.2</filename>):</para> 90 91 <screen><userinput>patch -Np1 -i ../&gcc-pure64-specs-patch;</userinput></screen> 92 92 93 93 <para>The above patch also removes <filename … … 117 117 --enable-shared --enable-threads=posix \ 118 118 --enable-__cxa_atexit --enable-languages=c,c++ \ 119 --disable-libstdcxx-pch </userinput></screen>119 --disable-libstdcxx-pch --disable-multilib</userinput></screen> 120 120 121 121 <variablelist> … … 200 200 <screen><userinput>make install</userinput></screen> 201 201 202 <para>Since we're not building a multilib system, let's move some 203 installed libraries to a more generic location:</para> 204 <screen><userinput>cp -va /tools/lib64/* /tools/lib 205 rm -rvf /tools/lib64</userinput></screen> 206 202 207 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 203 208 href="adjusting.xml" -
chapter06/chapter06.xml
r8e6333e r1218687 45 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="findutils.xml"/> 46 46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="flex.xml"/> 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="grub.xml"/>47 <!-- <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="grub.xml"/> --> 48 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gawk.xml"/> 49 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gettext.xml"/> -
chapter06/creatingdirs.xml
r8e6333e r1218687 25 25 ln -sv share/{man,doc,info} $dir 26 26 done 27 ln -sv lib /lib64 28 ln -sv lib /usr/lib64 27 29 mkdir -v /var/{lock,log,mail,run,spool} 28 30 mkdir -pv /var/{opt,cache,lib/{misc,locate},local}</userinput></screen> -
chapter06/glibc.xml
r8e6333e r1218687 80 80 81 81 <screen><userinput>sed -i \ 82 's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux .so.2 -o|' \82 's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux-x86-64.so.2 -o|' \ 83 83 scripts/test-installation.pl</userinput></screen> 84 84 -
general.ent
r8e6333e r1218687 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!ENTITY version "SVN- 20070714">3 <!ENTITY releasedate "July 14, 2007">2 <!ENTITY version "SVN-x86_64-20070723"> 3 <!ENTITY releasedate "July 23, 2007"> 4 4 <!ENTITY milestone "6.3"> 5 5 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" --> -
patches.ent
r8e6333e r1218687 44 44 <!ENTITY gawk-segfault-patch-size "1.3 KB"> 45 45 46 <!ENTITY gcc-pure64-patch "gcc-&gcc-version;-pure64-1.patch"> 47 <!ENTITY gcc-pure64-patch-md5 "cea9bf46663392d627de81e2456698e3"> 48 <!ENTITY gcc-pure64-patch-size "6.7 KB"> 46 49 47 <!ENTITY gcc-specs-patch "gcc-&gcc-version;-specs-1.patch"> 48 <!ENTITY gcc-specs-patch-md5 "a17be8ccfb978e73f382be5093dd8abd"> 49 <!ENTITY gcc-specs-patch-size "14.8 KB"> 50 50 <!ENTITY gcc-pure64-specs-patch "gcc-&gcc-version;-pure64_specs-1.patch"> 51 <!ENTITY gcc-pure64-specs-patch-md5 "99e0ae890fce0614be210e83f0a5b975"> 52 <!ENTITY gcc-pure64-specs-patch-size "15 KB"> 51 53 52 54 <!ENTITY glibc-branch_update-patch "glibc-&glibc-version;-branch_update-3.patch">
Note:
See TracChangeset
for help on using the changeset viewer.