| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 | <?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-gcc-pass1" role="wrap"><title>GCC-&gcc-version; - Pass 1</title><?dbhtml filename="gcc-pass1.html"?><sect2 role="package"><title/><segmentedlist><segtitle>&buildtime;</segtitle><segtitle>&diskspace;</segtitle><seglistitem><seg>4.4 SBU</seg><seg>300 MB</seg></seglistitem></segmentedlist></sect2><sect2 role="installation"><title>Installation of GCC</title><para>Create a build dir:</para><screen><userinput>mkdir ../gcc-buildcd ../gcc-build</userinput></screen><para>Prepare GCC for compilation:</para><screen><userinput>CC="gcc -B/usr/bin" ../gcc-&gcc-version;/configure \    --prefix=/tools --libexecdir=/tools/lib \    --with-local-prefix=/tools --disable-nls \    --enable-shared --enable-languages=c</userinput></screen><para>Continue with compiling the package:</para><screen><userinput>make BOOT_LDFLAGS="-static" bootstrap</userinput></screen><para>Now install the package:</para><screen><userinput>make install</userinput></screen><para>Create a symlink:</para><screen><userinput>ln -s gcc /tools/bin/cc</userinput></screen></sect2></sect1>
 |