[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY gcc2-download-http "http://ftp.gnu.org/gnu/gcc/gcc-&gcc2-version;.tar.gz">
|
---|
| 8 | <!ENTITY gcc2-download-ftp "ftp://ftp.gnu.org/gnu/gcc/gcc-&gcc2-version;.tar.gz">
|
---|
| 9 | <!ENTITY gcc2-size "9.4 MB">
|
---|
| 10 | <!ENTITY gcc2-buildsize "150 MB">
|
---|
| 11 | <!ENTITY gcc2-time "2.60 SBU">
|
---|
| 12 | ]>
|
---|
| 13 |
|
---|
[58bd309a] | 14 | <sect1 id="gcc2" xreflabel="GCC-&gcc2-version;">
|
---|
[19aa75a] | 15 | <?dbhtml filename="gcc2.html" ?>
|
---|
[58bd309a] | 16 | <title>GCC-&gcc2-version;</title>
|
---|
[3b03fa57] | 17 |
|
---|
[52d29f7] | 18 | <sect2>
|
---|
| 19 | <title>Introduction to <application><acronym>GCC</acronym></application>-&gcc2-version;</title>
|
---|
| 20 |
|
---|
| 21 |
|
---|
| 22 | <para>There are two reasons for installing
|
---|
| 23 | <acronym>GCC</acronym>-&gcc2-version;. The first is that the kernel
|
---|
| 24 | developers have certified <acronym>GCC</acronym>-&gcc2-version; as the
|
---|
| 25 | preferred compiler for compiling the kernel. The other (and more compelling
|
---|
| 26 | reason) is that some commercial closed-source packages (such as Netscape
|
---|
| 27 | Navigator, Yahoo Pager) and precompiled packages (such as Mozilla)
|
---|
| 28 | are linked against <acronym>GCC</acronym>-&gcc2-version; libs.</para>
|
---|
| 29 |
|
---|
| 30 | <sect3><title>Package information</title>
|
---|
| 31 | <itemizedlist spacing='compact'>
|
---|
| 32 | <listitem><para>Download (HTTP): <ulink
|
---|
| 33 | url="&gcc2-download-http;"/></para></listitem>
|
---|
| 34 | <listitem><para>Download (FTP): <ulink
|
---|
| 35 | url="&gcc2-download-ftp;"/></para></listitem>
|
---|
| 36 | <listitem><para>Download size: &gcc2-size;</para></listitem>
|
---|
| 37 | <listitem><para>Estimated Disk space required:
|
---|
| 38 | &gcc2-buildsize;</para></listitem>
|
---|
| 39 | <listitem><para>Estimated build time:
|
---|
| 40 | &gcc2-time;</para></listitem></itemizedlist>
|
---|
| 41 | </sect3>
|
---|
| 42 |
|
---|
| 43 | <sect3><title>Additional downloads</title>
|
---|
| 44 | <itemizedlist spacing='compact'>
|
---|
| 45 | <listitem><para><ulink url="&patch-root;/gcc-2.95.3-2.patch"/></para></listitem>
|
---|
| 46 | <listitem><para><ulink url="&patch-root;/gcc-2.95.3-no-fixinc.patch"/></para></listitem>
|
---|
| 47 | <listitem><para><ulink url="&patch-root;/gcc-2.95.3-returntype-fix.patch"/></para></listitem>
|
---|
| 48 | </itemizedlist>
|
---|
| 49 | </sect3>
|
---|
| 50 |
|
---|
| 51 | </sect2>
|
---|
| 52 |
|
---|
| 53 | <sect2>
|
---|
| 54 | <title>Configuring <application><acronym>GCC</acronym></application></title>
|
---|
| 55 |
|
---|
| 56 | <sect3><title>Configuration Information</title>
|
---|
| 57 |
|
---|
| 58 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
|
---|
| 59 |
|
---|
| 60 | <para>The instructions given above make compatibility symlinks that pre-compiled
|
---|
| 61 | packages in <acronym>BLFS</acronym> require. You may create additional
|
---|
| 62 | compatibility links based on your requirements.</para>
|
---|
| 63 |
|
---|
| 64 | <para>If you only need the GCC-&gcc2-version; libraries, you may delete
|
---|
| 65 | <filename>/opt/gcc-&gcc2-version;</filename>.</para>
|
---|
| 66 |
|
---|
| 67 | <para>Whenever you need to use GCC-&gcc2-version; instead of your system
|
---|
| 68 | installed compiler, add
|
---|
| 69 | <filename class="directory">/opt/gcc-&gcc2-version;/bin</filename> to the front of your <envar>PATH</envar> or (preferably) set the <envar>CC</envar>
|
---|
| 70 | environment variable before compiling the concerned package.</para>
|
---|
| 71 |
|
---|
| 72 | </sect3>
|
---|
| 73 |
|
---|
| 74 | </sect2>
|
---|
| 75 |
|
---|
| 76 | <sect2>
|
---|
| 77 | <title>Contents</title>
|
---|
| 78 |
|
---|
| 79 | <para>The GCC-&gcc2-version; package contains the
|
---|
| 80 | <command>gcc</command>-&gcc2-version; <application>C</application> and
|
---|
| 81 | <application>C++</application> compilers and GCC-&gcc2-version;
|
---|
| 82 | <filename>libstdc++.so</filename> that is required by some commercial and
|
---|
| 83 | pre-compiled packages.</para>
|
---|
| 84 |
|
---|
| 85 | </sect2>
|
---|
[3b03fa57] | 86 |
|
---|
| 87 | </sect1>
|
---|
| 88 |
|
---|