| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 | <?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [  <!ENTITY % general-entities SYSTEM "../general.ent">  %general-entities;]><sect1 id="ch-tools-binutils-pass1" role="wrap"><title>Binutils-&binutils-version; - Pass 1</title><?dbhtml filename="binutils-pass1.html"?><sect2 role="package"><title/><segmentedlist><segtitle>&buildtime;</segtitle><segtitle>&diskspace;</segtitle><seglistitem><seg>1.0 SBU</seg><seg>194 MB</seg></seglistitem></segmentedlist></sect2><sect2 role="installation"><title>Installation of Binutils</title><para>Create a build dir:</para><screen><userinput>mkdir ../binutils-buildcd ../binutils-build</userinput></screen><note><para>If you want the SBU values you could wrap the four commands in a <command>time</command> command like this: <userinput>time { ./configure ... && ... && ...&& make install; }</userinput>.</para></note><para>Now prepare Binutils for compilation:</para><screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools --disable-nls</userinput></screen><para>Continue with compiling the package:</para><screen><userinput>make configure-hostmake LDFLAGS="-all-static"</userinput></screen><para>Now install the package:</para><screen><userinput>make install</userinput></screen><para>Now prepare the linker for the <quote>Adjusting</quote> phase later on:</para><screen><userinput>make -C ld cleanmake -C ld LDFLAGS="-all-static" LIB_PATH=/tools/lib</userinput></screen><warning><para><emphasis>Do not yet remove</emphasis> the Binutils build andsource directories. You will need them again in their current state a bitfurther on in this chapter.</para></warning></sect2></sect1>
 |