Changeset a9aa69f for general/prog


Ignore:
Timestamp:
07/22/2013 09:26:43 PM (11 years ago)
Author:
Bruce Dubbs <bdubbs@…>
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:
e7d2812
Parents:
a1094d7
Message:

Update to gcc-4.8.1 to bring in sync with LFS.

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

Location:
general/prog
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • general/prog/gcc.xml

    ra1094d7 ra9aa69f  
    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         "cc308a0891e778cfda7a151ab8a6e762">
    10   <!ENTITY gcc-size           "80 MB">
    11   <!ENTITY gcc-buildsize      "~6.1 GB (build, test and install all compilers)">
    12   <!ENTITY gcc-time           "150 SBU (build, test and install all compilers)">
     9  <!ENTITY gcc-md5sum         "3b2386c114cd74185aa3754b58a79304">
     10  <!ENTITY gcc-size           "83 MB">
     11  <!ENTITY gcc-buildsize      "~6.2 GB (build, test and install all compilers)">
     12  <!ENTITY gcc-time           "98 SBU (build, test and install all compilers)">
    1313
    1414  <!ENTITY gnat-download-http "https://libre.adacore.com/download/">
     
    101101      dependency when you recompile <application>GCC</application>
    102102      to include Ada. At the AdaCore download page, choose your platform and
    103       2011, then select the file to download. You probably want the x86-linux
     103      2013, then select the file to download. You probably want the x86-linux
    104104      or x86_64-linux file.</para>
    105105    </note>
    106 <!-- Using 2011, because 2012 does not compile GCC-4.7.2 -->
    107     <bridgehead renderas="sect3">GNAT GPL 2011 Package Information</bridgehead>
     106<!-- Using 2011, because 2012 does not compile GCC-4.7.2
     107     GCC-4.8.1 and gnat 2013 work OK -->
     108    <bridgehead renderas="sect3">GNAT GPL 2013 Package Information</bridgehead>
    108109    <itemizedlist spacing="compact">
    109110      <listitem>
     
    121122
    122123    <para>Before unpacking and changing into the GCC source directory, first
    123     unpack the <application>GNAT</application> tarball and change into the
    124     newly created directory and install <application>GNAT</application> by
    125     running the following command:</para>
    126 
    127 <screen><userinput>make ins-all prefix=<replaceable>&lt;Your build directory&gt;</replaceable>/gnat</userinput></screen>
    128 
    129     <para>The <application>GNAT</application> compiler can be
    130     invoked by executing the <command>gcc</command> binary installed
    131     in <filename
    132     class='directory'><replaceable>&lt;Your build directory&gt;</replaceable>/gnat/bin</filename>.</para>
     124    unpack the <application>GNAT</application> tarball.  You may have to drill
     125    down several levels and unpack a second tarball.  For example,
     126    AdaCore-Download-2013-07-22_0530.tar expands to
     127    <filename>x86_64-linux/2013/gnatgpl/gnat-gpl-2013-x86_64-pc-linux-gnu-bin.tar.gz</filename>.
     128    Expand this second tarball and change into the newly created directory.
     129    Install <application>GNAT</application> by running the following
     130    command:</para>
     131
     132<screen><userinput>make ins-all prefix=/opt/gnat</userinput></screen>
     133
     134    <para>The <application>GNAT</application> compiler can be invoked by
     135    executing the <command>gcc</command> binary installed in <filename
     136    class='directory'>/opt/gnat/bin</filename>.</para>
    133137
    134138    <para>You may now remove the <application>GNAT</application>
    135     source directory:</para>
    136 
    137 <screen><userinput>cd .. &amp;&amp;
    138 rm -rf gnat-2011-*</userinput></screen>
     139    source directory if desired.</para>
    139140
    140141    <para>Prepare to compile <application>GCC</application> by placing the
    141142    <application>GNAT</application> version of <command>gcc</command> at the
    142143    beginning of the <envar>PATH</envar> variable by using the following
    143     commands:</para>
     144    commands as the <systemitem class="username">root</systemitem> user:</para>
    144145
    145146<screen><userinput>PATH_HOLD=$PATH &amp;&amp;
    146 export PATH=<replaceable>&lt;Your build directory&gt;</replaceable>/gnat/bin:$PATH_HOLD</userinput></screen>
     147export PATH=/opt/gnat/bin:$PATH_HOLD</userinput></screen>
    147148
    148149    <para>Doing so has the drawback that the <application>GCC</application>
     
    155156    are used all along. In order to use the LFS tools, issue:</para>
    156157
    157 <screen><userinput>find <replaceable>&lt;Your build directory&gt;</replaceable>/gnat -name ld -exec mv -v \{\} \{\}.old \;
    158 find <replaceable>&lt;Your build directory&gt;</replaceable>/gnat -name as -exec mv -v \{\} \{\}.old \;</userinput></screen>
     158<screen><userinput>find /opt/gnat -name ld -exec mv -v {} {}.old \;
     159find /opt/gnat -name as -exec mv -v {} {}.old \;</userinput></screen>
    159160
    160161  </sect2>
     
    188189    <para>The instructions below let the build machinery perform a
    189190    <quote>bootstrap</quote> intentionally. This is necessary if you
    190     install the <application>ADA</application> compiler anyway. Even
     191    install the <application>Ada</application> compiler anyway. Even
    191192    if you don't, a bootstrap is recommended for robustness.</para>
    192193
    193 <screen><userinput>sed -i 's/\(install.*:\) install-.*recursive/\1/' libffi/Makefile.in &amp;&amp;
    194 sed -i 's/\(install-data-am:\).*/\1/' libffi/include/Makefile.in &amp;&amp;
    195 sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &amp;&amp;
    196 sed -i 's@\./fixinc\.sh@-c true@'        gcc/Makefile.in       &amp;&amp;
     194<screen><userinput>sed -i 's/\(install.*:\) install-.*recursive/\1/' libffi/Makefile.in         &amp;&amp;
     195sed -i 's/\(install-data-am:\).*/\1/'             libffi/include/Makefile.in &amp;&amp;
     196sed -i 's/install_to_$(INSTALL_DEST) //'          libiberty/Makefile.in      &amp;&amp;
     197sed -i 's@\./fixinc\.sh@-c true@'                 gcc/Makefile.in            &amp;&amp;
    197198
    198199case `uname -m` in
     
    216217    --enable-languages=c,c++,fortran,ada,go,java,objc,obj-c++ &amp;&amp;
    217218
    218 make &amp;&amp;
    219 make -k check  &amp;&amp;
     219make            &amp;&amp;
     220ulimit -s 32768 &amp;&amp;
     221make -k check   &amp;&amp;
    220222
    221223../gcc-&gcc-version;/contrib/test_summary</userinput></screen>
     
    226228
    227229ln -v -sf ../usr/bin/cpp /lib &amp;&amp;
    228 ln -v -sf gcc /usr/bin/cc &amp;&amp;
     230ln -v -sf gcc /usr/bin/cc     &amp;&amp;
    229231
    230232chown -v -R root:root \
     
    240242<screen role="root"><userinput>ln -v -sf `find /usr/lib/gcc -name ffitarget.h` /usr/include</userinput></screen>-->
    241243
    242     <para>You should now become the unprivileged user and remove the
    243     <application>GNAT</application> installation and perform other
    244     cleanups:</para>
    245 
    246 <screen><userinput>rm -rf <replaceable>&lt;Your build directory&gt;</replaceable>/gnat &amp;&amp;
     244    <para>You should now remove the <application>GNAT</application>
     245    installation and perform other cleanups:</para>
     246
     247<screen><userinput>rm -rf /opt/gnat &amp;&amp;
    247248export PATH=$PATH_HOLD &amp;&amp;
    248249unset PATH_HOLD</userinput></screen>
     
    286287    This command identifies which languages to build. You may modify
    287288    this command to remove undesired languages.</para>
     289
     290    <para><command>ulimit -s 32768</command>: This command prevents several
     291    tests from running out of stack space.</para>
    288292
    289293    <para><command>make -k check</command>: This command runs the test suite
  • general/prog/openjdk.xml

    ra1094d7 ra9aa69f  
    4747]>
    4848
    49 <sect1 id="openjdk" xreflabel="OpenJDK-&openjdk-version;">
     49<sect1 id="openjdk" xreflabel="OpenJDK-&openjdk-version;/IcedTea-&icedtea-version;">
    5050  <?dbhtml filename="openjdk.html" ?>
    5151
Note: See TracChangeset for help on using the changeset viewer.