Changeset 3e74bafe for general


Ignore:
Timestamp:
03/16/2007 10:08:10 PM (17 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
f522e9a
Parents:
f41cad7d
Message:

Updated to GCC-4.1.2, which matches the version used in LFS

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6668 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/gcc.xml

    rf41cad7d r3e74bafe  
    77  <!ENTITY gcc-download-http  "http://ftp.gnu.org/gnu/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
    88  <!ENTITY gcc-download-ftp   "ftp://ftp.gnu.org/gnu/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
    9   <!ENTITY gcc-md5sum         "6ff1af12c53cbb3f79b27f2d6a9a3d50">
    10   <!ENTITY gcc-size           "32.9 MB">
    11   <!ENTITY gcc-buildsize      "1.7 GB">
    12   <!ENTITY gcc-time           "60 SBU (build, test and install all compilers)">
    13 
    14   <!ENTITY gnat-download-http "&sources-anduin-http;/g/gnat-3.15p-i686-pc-redhat71-gnu-bin.tar.bz2">
    15   <!ENTITY gnat-download-ftp  "&sources-anduin-ftp;/g/gnat-3.15p-i686-pc-redhat71-gnu-bin.tar.bz2">
    16   <!ENTITY gnat-md5sum        "c9aad2da908a40e876c24fc85f248b51">
    17   <!ENTITY gnat-size          "11.6 MB">
    18   <!ENTITY gnat-buildsize     "97.7 MB">
    19   <!ENTITY gnat-time          "less than 0.1 SBU">
     9  <!ENTITY gcc-md5sum         "a4a3eb15c96030906d8494959eeda23c">
     10  <!ENTITY gcc-size           "39.7 MB">
     11  <!ENTITY gcc-buildsize      "1.9 GB">
     12  <!ENTITY gcc-time           "77 SBU (build, test and install all compilers)">
     13
     14  <!ENTITY gnat-download-http "https://libre.adacore.com/dynamic/download_page">
     15  <!ENTITY gnat-md5sum        "659b7f57e00b73ecaa4863dabea5e0e2">
     16  <!ENTITY gnat-size          "44.6 MB">
    2017]>
    2118
     
    105102      <application>GNAT</application> temporarily to satisfy the circular
    106103      dependency when you recompile <application>GCC</application>
    107       to include Ada.</para>
     104      to include Ada. The download location shown below requires that you
     105      create an account on the AdaCore site before you can download the
     106      package. Nothing is required other than a valid email address.</para>
     107
     108      <para><emphasis role='strong'>Ensure you download the 2005 version of the
     109      GNAT compiler. The 2006 version will not work. The file name you need is:
     110      <filename>gnat-gpl-2005-i686-gnu-linux-gnu-libc2.3-bin.tar.gz</filename>.</emphasis>
     111      </para>
    108112    </note>
    109113
    110     <bridgehead renderas="sect3">GNAT-3.15 Package Information</bridgehead>
     114    <bridgehead renderas="sect3">GNAT GPL 2005 Package Information</bridgehead>
    111115    <itemizedlist spacing="compact">
    112116      <listitem>
     
    114118      </listitem>
    115119      <listitem>
    116         <para>Download (FTP): <ulink url="&gnat-download-ftp;"/></para>
    117       </listitem>
    118       <listitem>
    119120        <para>Download MD5 sum: &gnat-md5sum;</para>
    120121      </listitem>
     
    122123        <para>Download size: &gnat-size;</para>
    123124      </listitem>
    124       <listitem>
    125         <para>Estimated disk space required: &gnat-buildsize;</para>
    126       </listitem>
    127       <listitem>
    128         <para>Estimated build time: &gnat-time;</para>
    129       </listitem>
    130125    </itemizedlist>
    131 
    132     <!--
    133     <bridgehead renderas="sect3">GNAT Dependencies</bridgehead>
    134 
    135     <bridgehead renderas="sect4">Required</bridgehead>
    136     <para role="required"><xref linkend="tcsh"/></para>
    137     -->
    138126
    139127    <para condition="html" role="usernotes">User Notes:
     
    150138<screen role="root"><userinput>make ins-all prefix=/opt/gnat</userinput></screen>
    151139
    152 <!--
    153 <screen><userinput>./doconfig</userinput></screen>
    154 
    155     <para>The above script will ask you how and where you would like to install
    156     <application>GNAT</application>. To avoid conflicts with the system
    157     <command>gcc</command>, the package will be installed in a separate
    158     directory that can later be removed from the system.</para>
    159 
    160     <para>In response to the questions asked by the <command>doconfig</command>
    161     script, enter <userinput>3</userinput> in response to the first question
    162     and <userinput>/opt/gnat</userinput> in response to the second
    163     question.</para>
    164 
    165     <para>To finish the installation, run the following command as the
    166     <systemitem class="username">root</systemitem> user:</para>
    167 
    168 <screen role="root"><userinput>./doinstall</userinput></screen>
    169 -->
    170140    <para>The <application>GNAT</application> compiler can be
    171141    invoked by executing the <command>gcc</command> binary installed
     
    176146
    177147<screen><userinput>cd .. &amp;&amp;
    178 rm -rf gnat-3.15p-i686-pc-linux-gnu-bin</userinput></screen>
     148rm -rf gnat-gpl-2005-i686-gnu-linux-gnu-libc2.3-bin</userinput></screen>
    179149
    180150    <para>Prepare to compile <application>GCC</application> by placing the
     
    207177      test results with those found at
    208178      <ulink url="http://gcc.gnu.org/ml/gcc-testresults/"/>. There's also an
    209       i686 platform test result produced by an LFS-SVN-20051127 system at
    210       <ulink url="&files-anduin;/gcc403_test.txt"/>. You
     179      i686 platform test result produced by an LFS-SVN-20070304 system at
     180      <ulink url="&files-anduin;/gcc412_test.txt"/>. You
    211181      may also want to refer to the information found in the
    212       <application>GCC</application>-Pass 2 section of Chapter 5 in the LFS
    213       book (<ulink url="&lfs-root;/chapter05/gcc-pass2.html"/>).</para>
     182      <application>GCC</application> section of Chapter 6 in the LFS
     183      book (<ulink url="&lfs-root;/chapter06/gcc.html"/>).</para>
    214184    </important>
    215185
    216     <!-- The instructions below perform a 'make bootstrap' instead of just
    217          a plain 'make' intentionally. Even though we assume that the current
    218          version of GCC is installed in LFS, because this installation includes
    219          the Ada compiler as an installed language, a bootstrap is required.
    220          The GNAT compiler must be used for stage1 of the bootstrap in order to
    221          build Ada, therefore we must bootstrap, else we would have a GCC
    222          installed on the system that was produced by a foriegn compiler. -->
     186    <para>The instructions below perform a <quote><command>make
     187    bootstrap</command></quote> instead of just a plain
     188    <quote><command>make</command></quote> intentionally. Even though it is
     189    assumed that the current version of <application>GCC</application> is
     190    installed in LFS, because this installation includes the Ada compiler as an
     191    installed language, a bootstrap is required. The GNAT compiler must be used
     192    for stage1 of the bootstrap in order to build Ada. If the process didn't
     193    use a <quote>bootstrap</quote> you could end up having a
     194    <command>gcc</command> installed on the system that was produced by a
     195    foriegn compiler.</para>
    223196
    224197<screen><userinput>sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &amp;&amp;
    225198sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in &amp;&amp;
     199sed -i 's/@have_mktemp_command@/yes/' gcc/gccbug.in &amp;&amp;
    226200mkdir ../gcc-build &amp;&amp;
    227201cd ../gcc-build &amp;&amp;
     
    233207    --enable-__cxa_atexit \
    234208    --enable-clocale=gnu \
    235     --enable-languages=c,c++,objc,f95,ada,java,treelang &amp;&amp;
     209    --enable-languages=c,c++,ada,fortran,java,objc,treelang &amp;&amp;
    236210make bootstrap &amp;&amp;
    237211make -k check &amp;&amp;
     
    272246    <title>Command Explanations</title>
    273247
    274     <para><command>sed -i 's/install_to_$(INSTALL_DEST) //'
    275     libiberty/Makefile.in</command>: This command suppresses the installation
    276     of <filename class='libraryfile'>libiberty.a</filename> as the version
    277     provided by <application>Binutils</application> is used instead.</para>
     248    <para>The three <command>sed</command> commands are the same ones used
     249    during the build of LFS. A fourth one in LFS is ommitted intentionally,
     250    due to the bootstrap build.</para>
    278251
    279252    <para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The
     
    289262
    290263    <para>
    291     <parameter>--enable-languages=c,c++,objc,f95,ada,java,treelang</parameter>:
     264    <parameter>--enable-languages=c,c++,ada,fortran,java,objc,treelang</parameter>:
    292265    This command identifies which languages to build. You may modify this command
    293266    to remove undesired languages.</para>
Note: See TracChangeset for help on using the changeset viewer.