Changeset b8dd57d6 for chapter05/binutils-pass1.xml
- Timestamp:
- 08/30/2007 05:34:55 PM (17 years ago)
- Children:
- f65c459
- Parents:
- 0d2c43f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/binutils-pass1.xml
r0d2c43f rb8dd57d6 58 58 </note> 59 59 60 <para>If our host is a multilib machine, we want to ensure that we 61 build 64-bit binaries, so we'll test for that and set a variable if so:</para> 62 63 <screen><userinput>test $(uname -m | grep 64) && M64="-m64"</userinput></screen> 64 60 65 <para>Now prepare Binutils for compilation:</para> 61 66 62 <screen><userinput>CC="gcc -B/usr/bin/" ../binutils-&binutils-version;/configure \ 63 --prefix=/tools --disable-nls --disable-werror</userinput></screen> 67 <screen><userinput>CC="gcc -B/usr/bin/ $M64" ../binutils-&binutils-version;/configure \ 68 --prefix=/tools --disable-nls --disable-werror 69 unset M64</userinput></screen> 64 70 65 71 <variablelist> … … 114 120 first pass will soon be replaced by those from the second.</para> 115 121 122 <para>Create a symlink to ensure the sanity of our toolchain:</para> 123 124 <screen><userinput>mkdir -v /tools/lib 125 ln -sv lib /tools/lib64</userinput></screen> 126 116 127 <para>Install the package:</para> 117 128 118 129 <screen><userinput>make install</userinput></screen> 119 130 120 <para> Next, prepare the linker for the <quote>Adjusting</quote> phase131 <para>Finally, prepare the linker for the <quote>Adjusting</quote> phase 121 132 later on:</para> 122 133 … … 124 135 make -C ld LIB_PATH=/tools/lib 125 136 cp -v ld/ld-new /tools/bin</userinput></screen> 126 127 <para>Finally, create a symlink to ensure the sanity of our toolchain:</para>128 129 <screen><userinput>ln -nsv lib /tools/lib64</userinput></screen>130 137 131 138 <variablelist>
Note:
See TracChangeset
for help on using the changeset viewer.