diff options
Diffstat (limited to 'chapter05/binutils-pass2.xml')
-rw-r--r-- | chapter05/binutils-pass2.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/chapter05/binutils-pass2.xml b/chapter05/binutils-pass2.xml index d1bbec87f..ebc0f30e7 100644 --- a/chapter05/binutils-pass2.xml +++ b/chapter05/binutils-pass2.xml @@ -49,7 +49,7 @@ cd ../binutils-build</userinput></screen> <para>Prepare Binutils for compilation:</para> <screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools \ - --disable-nls --enable-shared --with-lib-path=/tools/lib</userinput></screen> + --disable-nls --with-lib-path=/tools/lib</userinput></screen> <variablelist> <title>The meaning of the new configure options:</title> @@ -80,6 +80,13 @@ cd ../binutils-build</userinput></screen> <para>Install the package:</para> + <para>Now prepare the linker for the <quote>Re-adjusting</quote> phase in + the next chapter:</para> + +<screen><userinput>make -C ld clean +make -C ld LDFLAGS="-s" LIB_PATH=/usr/lib:/lib +cp -v ld/ld-new /tools/bin</userinput></screen> + <screen><userinput>make install</userinput></screen> </sect2> |