Changeset 62d3362
- Timestamp:
- 01/30/2006 06:50:11 AM (18 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.3, 6.4, 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:
- 28bb0634
- Parents:
- b87ea87
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
rb87ea87 r62d3362 38 38 39 39 <listitem> 40 <para>January 30, 2006</para> 41 <itemizedlist> 42 <listitem> 43 <para>[jhuntwork] - Adjust binutils-pass1 so we don't need to hang on to its 44 source directories. Also use 'gcc -dumpmachine' instead of the MACHTYPE var.</para> 45 </listitem> 46 </itemizedlist> 47 </listitem> 48 49 <listitem> 40 50 <para>January 29, 2006</para> 41 51 <itemizedlist> 42 52 <listitem> 43 <para>[jhuntwork] - Restore the use of *startfile_prefix_spec. 53 <para>[jhuntwork] - Restore the use of *startfile_prefix_spec.</para> 44 54 </listitem> 45 55 <listitem> 46 56 <para>[jhuntwork] - Remove a spurious -i from the perl command when 47 readjusting the toolchain. Thanks Dan Nicholson. 57 readjusting the toolchain. Thanks Dan Nicholson.</para> 48 58 </listitem> 49 59 </itemizedlist> -
chapter05/adjusting.xml
rb87ea87 r62d3362 16 16 compiler's specs file need to be adjusted.</para> 17 17 18 <para>The linker, adjusted at the end of the first pass of Binutils, 19 is installed by running the following command from within the 20 <filename class="directory">binutils-build</filename> directory:</para> 18 <para>The linker, adjusted at the end of the first pass of Binutils, needs 19 to be renamed so that it can be properly found and used. First, backup the 20 original linker, then replace it with the adjusted linker. We'll also 21 create a link to its counterpart in <filename class="directory"> 22 /tools/$(gcc -dumpmachine)/bin</filename></para> 21 23 22 <screen><userinput>make -C ld install</userinput></screen> 24 <screen><userinput>mv -v /tools/bin/{ld,ld-old} 25 mv -v /tools/$(gcc -dumpmachine)/bin/{ld,ld-old} 26 mv -v /tools/bin/{ld-new,ld} 27 ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld</userinput></screen> 23 28 24 29 <para>From this point onwards, everything will link only against the 25 30 libraries in <filename class="directory">/tools/lib</filename>.</para> 26 27 <note>28 <para>If the earlier warning to retain the Binutils source and29 build directories from the first pass was missed, ignore the above30 command. This results in a small chance that the subsequent testing31 programs will link against libraries on the host. This is not ideal,32 but it is not a major problem. The situation is corrected when the33 second pass of Binutils is installed later.</para>34 </note>35 36 <para>Now that the adjusted linker is installed, the Binutils build and source37 directories should be removed.</para>38 31 39 32 <para>The next task is to point GCC to the new dynamic linker. This is done by -
chapter05/binutils-pass1.xml
rb87ea87 r62d3362 106 106 107 107 <screen><userinput>make -C ld clean 108 make -C ld LIB_PATH=/tools/lib</userinput></screen> 108 make -C ld LDFLAGS="-s" LIB_PATH=/tools/lib 109 cp -v ld/ld-new /tools/bin</userinput></screen> 109 110 110 111 <variablelist> … … 121 122 122 123 <varlistentry> 123 <term><parameter>-C ld L IB_PATH=/tools/lib</parameter></term>124 <term><parameter>-C ld LDFLAGS="-s" LIB_PATH=/tools/lib</parameter></term> 124 125 <listitem> 125 126 <para>This option rebuilds everything in the <filename 126 class="directory">ld</filename> subdirectory. Specifying the 127 class="directory">ld</filename> subdirectory. The 128 <envar>LDFLAGS</envar> variable will build a static version of 129 <command>ld</command>. Specifying the 127 130 <envar>LIB_PATH</envar> Makefile variable on the command line 128 131 allows us to override the default value and point it to the … … 134 137 135 138 </variablelist> 136 137 <warning>138 <para><emphasis>Do not</emphasis> remove the Binutils build and source139 directories yet. These will be needed again in their current state later140 in this chapter.</para>141 </warning>142 139 143 140 </sect2> -
chapter06/readjusting.xml
rb87ea87 r62d3362 22 22 <para>First, backup the <filename class="directory">/tools</filename> linker, and 23 23 replace it with the adjusted linker we made in chapter 5. We'll also create a 24 link to its counterpart in <filename class="directory">/tools/$ MACHTYPE/bin</filename></para>24 link to its counterpart in <filename class="directory">/tools/$(gcc -dumpmachine)/bin</filename></para> 25 25 26 26 <screen><userinput>mv -v /tools/bin/{ld,ld-old} 27 mv -v /tools/$ MACHTYPE/bin/{ld,ld-old}27 mv -v /tools/$(gcc -dumpmachine)/bin/{ld,ld-old} 28 28 mv -v /tools/bin/{ld-new,ld} 29 ln -sv /tools/bin/ld /tools/$ MACHTYPE/bin/ld</userinput></screen>29 ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld</userinput></screen> 30 30 31 31 <para>Next, amend the GCC specs file so that it points to the new -
general.ent
rb87ea87 r62d3362 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!ENTITY version "SVN-200601 29">3 <!ENTITY releasedate "January 29, 2006">2 <!ENTITY version "SVN-20060130"> 3 <!ENTITY releasedate "January 30, 2006"> 4 4 <!ENTITY milestone "6.2"> 5 5 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
Note:
See TracChangeset
for help on using the changeset viewer.