diff options
Diffstat (limited to 'chapter06/binutils-inst.xml')
-rw-r--r-- | chapter06/binutils-inst.xml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/chapter06/binutils-inst.xml b/chapter06/binutils-inst.xml index 7ebec5652..81312fe4c 100644 --- a/chapter06/binutils-inst.xml +++ b/chapter06/binutils-inst.xml @@ -6,7 +6,7 @@ working properly inside the chroot environment. We will again quickly check that everything is set up correctly by performing a simple test:</para> -<para><screen><userinput>expect -c "spawn ls"</userinput></screen></para> +<screen><userinput>expect -c "spawn ls"</userinput></screen> <para>If you receive the message:</para> @@ -31,17 +31,17 @@ or modifying them when building Binutils.</para> <para>The Binutils documentation recommends building Binutils outside of the source directory in a dedicated build directory:</para> -<para><screen><userinput>mkdir ../binutils-build -cd ../binutils-build</userinput></screen></para> +<screen><userinput>mkdir ../binutils-build +cd ../binutils-build</userinput></screen> <para>Now prepare Binutils for compilation:</para> -<para><screen><userinput>../binutils-&binutils-version;/configure \ - --prefix=/usr --enable-shared</userinput></screen></para> +<screen><userinput>../binutils-&binutils-version;/configure \ + --prefix=/usr --enable-shared</userinput></screen> <para>Compile the package:</para> -<para><screen><userinput>make tooldir=/usr</userinput></screen></para> +<screen><userinput>make tooldir=/usr</userinput></screen> <para>Normally, the <emphasis>tooldir</emphasis> (the directory where the executables end up) is set to $(exec_prefix)/$(target_alias), which expands @@ -53,7 +53,7 @@ generates code that can be executed on PowerPC machines).</para> <para>Test the results:</para> -<para><screen><userinput>make check</userinput></screen></para> +<screen><userinput>make check</userinput></screen> <para>The test suite notes from <xref linkend="ch05-binutils-pass2"/> are still very much appropriate here. Be sure to refer back there should you have any @@ -61,12 +61,12 @@ doubts.</para> <para>Install the package:</para> -<para><screen><userinput>make tooldir=/usr install</userinput></screen></para> +<screen><userinput>make tooldir=/usr install</userinput></screen> <para>Install the <emphasis>libiberty</emphasis> header file that is needed by some packages:</para> -<para><screen><userinput>cp ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen></para> +<screen><userinput>cp ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen> </sect2> |