Changeset 5512e64


Ignore:
Timestamp:
02/18/2010 03:34:02 PM (14 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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:
65bc0795
Parents:
6d1bf0e
Message:

Updated to GCC-4.4.1

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r6d1bf0e r5512e64  
    3838<!-- These entities are used to identify versions of LFS
    3939     packages referenced throughout the BLFS book. -->
    40 <!ENTITY lfs-gcc-version              "4.3.2">
     40<!ENTITY lfs-autoconf-version         "2.64">
    4141<!-- <!ENTITY lfs-bdb-version              "4.7.25"> -->
     42<!ENTITY lfs-coreutils-version        "7.4">
     43<!ENTITY lfs-flex-version             "2.5.35">
     44<!ENTITY lfs-gcc-version              "4.4.1">
    4245<!ENTITY lfs-gdbm-version             "1.8.3">
    43 <!ENTITY lfs-coreutils-version        "6.12">
     46<!ENTITY lfs-m4-version               "1.4.13">
    4447<!ENTITY lfs-perl-version             "5.10.0">
    45 <!ENTITY lfs-autoconf-version         "2.63">
    46 <!ENTITY lfs-flex-version             "2.5.35">
    47 <!ENTITY lfs-shadow-version           "4.1.4.1">
     48<!ENTITY lfs-shadow-version           "4.1.4.2">
    4849<!ENTITY lfs-vim-version              "7.2">
    49 <!ENTITY lfs-m4-version               "1.4.12">
    5050<!-- End LFS versions -->
    5151
     
    266266<!ENTITY expect-version               "5.43.0">
    267267<!ENTITY gc-version                   "6.8">
    268 <!ENTITY gcc-version                  "4.1.2">
     268<!ENTITY gcc-version                  "4.4.1">
    269269<!ENTITY gcc3-version                 "3.3.6">
    270270<!ENTITY guile-version                "1.8.7">
  • general/prog/gcc.xml

    r6d1bf0e r5512e64  
    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         "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">
     9  <!ENTITY gcc-md5sum         "927eaac3d44b22f31f9c83df82f26436">
     10  <!ENTITY gcc-size           "62.8 MB">
     11  <!ENTITY gcc-buildsize      "~3.7 GB (build, test and install all compilers)">
     12  <!ENTITY gcc-time           "119 SBU (build, test and install all compilers)">
     13
     14  <!ENTITY gnat-download-http "https://libre.adacore.com/libre/download/">
     15  <!ENTITY gnat-md5sum        "88d82a34ab0b67d2c03cef93527ca863">
     16  <!ENTITY gnat-size          "104 MB">
    1717]>
    1818
     
    3636    <para>The <application>GCC</application> package contains GNU compilers.
    3737    This package is useful for compiling programs written in C, C++, Fortran,
    38     Java, Objective C and Ada. Also included is GNU Treelang. Treelang is a
    39     sample language, useful only to help people understand how to implement a
    40     new language front end to GCC. It is not a useful language in itself other
    41     than as an example or basis for building a new language. Therefore only
    42     language developers are likely to have an interest in it.</para>
    43 
    44     <note>
     38    Java, Objective C, Objective C++, and Ada. You should ensure you actually
     39    need one of these additional compilers (C and C++ are installed in LFS)
     40    before you install them. Additionally, there are instructions in the BLFS
     41    book to install the Sun Java Development Kit (<xref linkend="jdk"/>),
     42    which can be used instead of the Java provided by the
     43    <application>GCC</application> package. Many consider the Sun JDK to be a
     44    more robust Java environment than the one provided by
     45    <application>GCC</application>.</para>
     46
     47    &lfs65_checked;
     48
     49    <!-- <note>
    4550      <para>The Fortran compiler included with the
    4651      <application>GCC</application>-4.x package now aims to be conformant
     
    6469      <ulink url="&blfs-wiki;/gcc3">BLFS
    6570      Wiki</ulink>.</para>
    66     </note>
     71    </note> -->
    6772
    6873    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    9297    <bridgehead renderas="sect4">Recommended</bridgehead>
    9398    <para role="recommended"><xref linkend="dejagnu"/></para>
    94 
    95     <!-- This is now installed in LFS
    96     <bridgehead renderas="sect4">Optional (Required to Build the Fortran
    97     Compiler)</bridgehead>
    98     <para role="optional">
    99     <ulink url="http://www.mpfr.org/">MPFR</ulink></para>
    100     -->
    10199
    102100    <note>
     
    108106      package. Nothing is required other than a valid email address.</para>
    109107
    110       <para><emphasis role='strong'>Ensure you download the 2005 version of the
    111       GNAT compiler. The 2006 version will not work. The file name you need is:
    112       <filename>gnat-gpl-2005-i686-gnu-linux-gnu-libc2.3-bin.tar.gz</filename>.</emphasis>
     108      <para>At the AdaCore download page, choose your platform and 2009. Then
     109      scroll down and click on <quote>Files</quote>. Download the file named
     110      <filename>gnat-gpl-2009-1-i686-gnu-linux-libc2.3-bin.tar.gz</filename>.
    113111      </para>
    114112    </note>
    115113
    116     <bridgehead renderas="sect3">GNAT GPL 2005 Package Information</bridgehead>
     114    <bridgehead renderas="sect3">GNAT GPL 2009 Package Information</bridgehead>
    117115    <itemizedlist spacing="compact">
    118116      <listitem>
     
    135133    <title>Installation of GNAT</title>
    136134
    137     <para>Install <application>GNAT</application> by running the following
    138     command as the <systemitem class="username">root</systemitem> user:</para>
    139 
    140 <screen role="root"><userinput>make ins-all prefix=/opt/gnat</userinput></screen>
     135    <para>Before unpacking and changing into the GCC build directory, first
     136    unpack the <application>GNAT</application> tarball and change into the
     137    newly created directory and install <application>GNAT</application> by
     138    running the following command:</para>
     139
     140<screen><userinput>make ins-all prefix=<replaceable>&lt;Your build directory&gt;</replaceable>/gnat</userinput></screen>
    141141
    142142    <para>The <application>GNAT</application> compiler can be
    143143    invoked by executing the <command>gcc</command> binary installed
    144     in <filename class='directory'>/opt/gnat/bin</filename>.</para>
     144    in <filename
     145    class='directory'><replaceable>&lt;Your build directory&gt;</replaceable>/gnat/bin</filename>.</para>
    145146
    146147    <para>You may now remove the <application>GNAT</application>
     
    148149
    149150<screen><userinput>cd .. &amp;&amp;
    150 rm -rf gnat-gpl-2005-i686-gnu-linux-gnu-libc2.3-bin</userinput></screen>
     151rm -rf gnat-2009-i686-gnu-linux-libc2.3-bin</userinput></screen>
    151152
    152153    <para>Prepare to compile <application>GCC</application> by placing the
     
    156157
    157158<screen><userinput>PATH_HOLD=$PATH &amp;&amp;
    158 export PATH=/opt/gnat/bin:$PATH_HOLD</userinput></screen>
     159export PATH=<replaceable>&lt;Your build directory&gt;</replaceable>/gnat/bin:$PATH_HOLD</userinput></screen>
    159160
    160161  </sect2>
     
    179180      test results with those found at
    180181      <ulink url="http://gcc.gnu.org/ml/gcc-testresults/"/>. There's also an
    181       i686 platform test result produced by an LFS-SVN-20070304 system at
    182       <ulink url="&files-anduin;/gcc412_test.txt"/>. You
     182      i686 32-bit platform test result produced by an LFS-6.5 system at
     183      <ulink url="&files-anduin;/gcc441_test.txt"/>. You
    183184      may also want to refer to the information found in the
    184185      <application>GCC</application> section of Chapter 6 in the LFS
     
    199200<screen><userinput>sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &amp;&amp;
    200201sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in &amp;&amp;
    201 sed -i 's/@have_mktemp_command@/yes/' gcc/gccbug.in &amp;&amp;
     202
    202203mkdir ../gcc-build &amp;&amp;
    203 cd ../gcc-build &amp;&amp;
     204cd    ../gcc-build &amp;&amp;
     205
    204206../gcc-&gcc-version;/configure \
    205207    --prefix=/usr \
     
    208210    --enable-threads=posix \
    209211    --enable-__cxa_atexit \
     212    --disable-multilib \
     213    --enable-bootstrap \
    210214    --enable-clocale=gnu \
    211     --enable-languages=c,c++,ada,fortran,java,objc,treelang &amp;&amp;
     215    --enable-languages=c,c++,ada,fortran,java,objc,obj-c++ &amp;&amp;
     216
    212217make bootstrap &amp;&amp;
    213 make -k check &amp;&amp;
     218make -k check  &amp;&amp;
     219
    214220../gcc-&gcc-version;/contrib/test_summary</userinput></screen>
    215221
     
    217223
    218224<screen role="root"><userinput>make install &amp;&amp;
     225
    219226ln -v -sf ../usr/bin/cpp /lib &amp;&amp;
    220227ln -v -sf gcc /usr/bin/cc &amp;&amp;
     228
    221229chown -v -R root:root \
    222     /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/include &amp;&amp;
    223 chown -v -R root:root \
     230    /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/include \
    224231    /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/ada{lib,include}</userinput></screen>
    225232
     
    232239<screen role="root"><userinput>ln -v -sf `find /usr/lib/gcc -name ffitarget.h` /usr/include</userinput></screen>
    233240
    234     <para>As the <systemitem class="username">root</systemitem> user, remove the
    235     <application>GNAT</application> installation:</para>
    236 
    237 <screen role="root"><userinput>rm -rf /opt/gnat</userinput></screen>
    238 
    239     <para>Now, as the unprivileged user, restore your old
    240     <envar>PATH</envar>:</para>
     241    <para>You should now become the unprivileged user and remove the
     242    <application>GNAT</application> installation and perform other
     243    cleanups:</para>
     244
     245<screen><userinput>rm -rf <replaceable>&lt;Your build directory&gt;</replaceable>/gnat</userinput></screen>
    241246
    242247<screen><userinput>export PATH=$PATH_HOLD &amp;&amp;
     
    248253    <title>Command Explanations</title>
    249254
    250     <para>The three <command>sed</command> commands are the same ones used
    251     during the build of LFS. A fourth one in LFS is omitted intentionally,
    252     due to the bootstrap build.</para>
     255    <para>The two <command>sed</command> commands are the same ones used
     256    during the build of LFS.</para>
    253257
    254258    <para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The
     
    260264    the <application>C++</application> libraries to published standards.</para>
    261265
    262     <para><parameter>--enable-clocale=gnu</parameter>: This command is a
     266    <para><parameter>--disable-multilib</parameter>: This parameter ensures
     267    that files are created for the specific arch of your computer.</para>
     268
     269    <para><parameter>--enable-bootstrap</parameter>: This parameter is used
     270    so that a bootstrap installation is performed.</para>
     271
     272    <para><parameter>--enable-clocale=gnu</parameter>: This parameter is a
    263273    failsafe for incomplete locale data.</para>
    264274
    265275    <para>
    266     <parameter>--enable-languages=c,c++,ada,fortran,java,objc,treelang</parameter>:
     276    <parameter>--enable-languages=c,c++,ada,fortran,java,objc,obj-c++</parameter>:
    267277    This command identifies which languages to build. You may modify this command
    268278    to remove undesired languages.</para>
  • introduction/welcome/changelog.xml

    r6d1bf0e r5512e64  
    4545      <para>February 18th, 2010</para>
    4646      <itemizedlist>
    47        <listitem>
     47        <listitem>
     48          <para>[randy] - Updated to GCC-4.4.1.</para>
     49        </listitem>
     50        <listitem>
    4851          <para>[dj] - Updated to Firefox-3.6/XULRunner-1.9.2.</para>
    4952        </listitem>
Note: See TracChangeset for help on using the changeset viewer.