Changeset d14cd9a1 for general/prog


Ignore:
Timestamp:
11/01/2012 02:44:21 AM (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:
9a0c0939
Parents:
f6d2da1
Message:

Update to gcc-4.7.2
Tag blueman and inkscape
Update sshfs-fuse dependencies
Fix install permissions in dsssl-stylesheets

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/gcc.xml

    rf6d2da1 rd14cd9a1  
    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         "2a0f1d99fda235c29d40b561f81d9a77">
    10   <!ENTITY gcc-size           "79 MB">
     9  <!ENTITY gcc-md5sum         "cc308a0891e778cfda7a151ab8a6e762">
     10  <!ENTITY gcc-size           "80 MB">
    1111  <!ENTITY gcc-buildsize      "~3.5 GB (build, test and install all compilers)">
    1212  <!ENTITY gcc-time           "126 SBU (build, test and install all compilers)">
     
    3737    <para>The <application>GCC</application> package contains GNU compilers.
    3838    This package is useful for compiling programs written in C, C++, Fortran,
    39     Java, Objective C, Objective C++, and Ada. You should ensure you actually
     39    Java, Objective C, and Objective C++. You should ensure you actually
    4040    need one of these additional compilers (C and C++ are installed in LFS)
    4141    before you install them. Additionally, there are instructions in the BLFS
     
    4545    one provided by <application>GCC</application>.</para>
    4646
    47     &lfs70_checked;
     47    &lfs72_checked;
    4848
    4949    <caution>
     
    9090
    9191    <note>
    92       <para>If you plan to compile Ada, you will need to install
    93       <application>GNAT</application> temporarily to satisfy the circular
    94       dependency when you recompile <application>GCC</application>
    95       to include Ada. At the AdaCore download page, choose your platform and
    96       2010, then select the file to download. You probably want the x86-linux
    97       or x86_64-linux file.</para>
     92      <para>Building Ada from source is no longer supported by BLFS.  The
     93      upstream binary package is based on gcc-4.5.4 and is not suitable
     94      for building Ada from the current <application>GCC</application>
     95      package.</para>
    9896    </note>
    99 
    100     <bridgehead renderas="sect3">GNAT GPL 2010 Package Information</bridgehead>
     97<!--
     98    <bridgehead renderas="sect3">GNAT GPL 2012 Package Information</bridgehead>
    10199    <itemizedlist spacing="compact">
    102100      <listitem>
     
    104102      </listitem>
    105103    </itemizedlist>
    106 
     104-->
    107105    <para condition="html" role="usernotes">User Notes:
    108106    <ulink url="&blfs-wiki;/gcc"/></para>
    109107
    110108  </sect2>
    111 
     109<!--
    112110  <sect2 role="installation">
    113111    <title>Installation of GNAT</title>
     
    140138
    141139  </sect2>
    142 
     140-->
    143141  <sect2 role="installation">
    144142    <title>Installation of GCC</title>
     
    148146
    149147    <important>
     148
    150149      <para>The installation process may overwrite your existing
    151150      <application>GCC</application> <command>gcc</command> and
    152       <command>c++</command> compilers and libraries. It is highly recommended
    153       that you have the <application>Tcl</application>,
    154       <application>Expect</application> and <application>DejaGnu</application>
    155       packages installed before beginning the build so you can run the full
    156       suite of tests.</para>
     151      <command>c++</command> compilers and libraries. Having the the
     152      <application>Tcl</application>, <application>Expect</application> and
     153      <application>DejaGnu</application> packages installed before beginning
     154      the build is highly recommended so you can run the full suite of
     155      tests.</para>
    157156
    158157      <para>Do not continue with the <command>make install</command> command
    159158      until you are confident the build was successful. You can compare your
    160       test results with those found at
    161       <ulink url="http://gcc.gnu.org/ml/gcc-testresults/"/>.  You may also
    162       want to refer to the information found in the <application>GCC</application>
    163       section of Chapter 6 in the LFS book
    164       (<ulink url="&lfs-root;/chapter06/gcc.html"/>).</para>
     159      test results with those found at <ulink
     160      url="http://gcc.gnu.org/ml/gcc-testresults/"/>.  You may also want to
     161      refer to the information found in the <application>GCC</application>
     162      section of Chapter 6 in the LFS book (<ulink
     163      url="&lfs-root;/chapter06/gcc.html"/>).</para>
    165164
    166165    </important>
     
    170169    <quote><command>make</command></quote> intentionally. Even though it is
    171170    assumed that the current version of <application>GCC</application> is
    172     installed in LFS, because this installation includes the Ada compiler as an
    173     installed language, a bootstrap is required. The GNAT compiler must be used
    174     for stage1 of the bootstrap in order to build Ada. If the process didn't
    175     use a <quote>bootstrap</quote> you could end up having a
    176     <command>gcc</command> installed on the system that was produced by a
    177     foreign compiler.</para>
     171    installed in LFS, a bootstrap is recommended for robustness.  </para>
    178172
    179173<screen><userinput>sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &amp;&amp;
    180174sed -i 's@\./fixinc\.sh@-c true@'        gcc/Makefile.in       &amp;&amp;
    181 sed -i 's/Standard/Types/'               gcc/ada/uintp.adb     &amp;&amp;
     175
     176case `uname -m` in
     177      i?86) sed -i 's/^T_CFLAGS =$/&amp; -fomit-frame-pointer/' gcc/Makefile.in ;;
     178esac &amp;&amp;
    182179
    183180mkdir ../gcc-build &amp;&amp;
     
    194191    --enable-bootstrap         \
    195192    --enable-clocale=gnu       \
    196     --enable-languages=c,c++,ada,fortran,java,objc,obj-c++ &amp;&amp;
     193    --enable-languages=c,c++,fortran,java,objc,obj-c++ &amp;&amp;
    197194
    198195make bootstrap &amp;&amp;
     
    206203
    207204ln -v -sf ../usr/bin/cpp /lib &amp;&amp;
    208 ln -v -sf gcc /usr/bin/cc &amp;&amp;
    209 
     205ln -v -sf gcc /usr/bin/cc </userinput></screen>
     206
     207<!--
    210208chown -v -R root:root \
    211209    /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/include \
    212210    /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/ada{lib,include}</userinput></screen>
    213 
     211-->
    214212    <para>The <filename class='libraryfile'>libffi</filename> interface header
    215213    is installed in a location where other packages will not be able to find
     
    220218<screen role="root"><userinput>ln -v -sf `find /usr/lib/gcc -name ffitarget.h` /usr/include</userinput></screen>
    221219
     220<!--
    222221    <para>You should now become the unprivileged user and remove the
    223222    <application>GNAT</application> installation and perform other
     
    228227<screen><userinput>export PATH=$PATH_HOLD &amp;&amp;
    229228unset PATH_HOLD</userinput></screen>
    230 
     229-->
    231230  </sect2>
    232231
     
    234233    <title>Command Explanations</title>
    235234
    236     <para>The two <command>sed</command> commands are the same ones used
    237     during the build of LFS. The third one fixes an issue with the ADA
    238     build.</para>
     235    <para>The three <command>sed</command> commands are the same ones used
     236    during the build of LFS.</para>
    239237
    240238    <para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The
     
    256254
    257255    <para>
    258     <parameter>--enable-languages=c,c++,ada,fortran,java,objc,obj-c++</parameter>:
     256    <parameter>--enable-languages=c,c++,fortran,java,objc,obj-c++</parameter>:
    259257    This command identifies which languages to build. You may modify this command
    260258    to remove undesired languages.</para>
     
    276274    <para><command>ln -v -sf gcc /usr/bin/cc</command>: This link is created as
    277275    some packages refer to the C compiler using an alternate name.</para>
    278 
     276<!--
    279277    <para><command>chown -v -R root:root
    280278    /usr/lib/gcc/i686-pc-linux-gnu/...</command>:
     
    286284    command changing the Ada directories if you did not include Ada as one of
    287285    the installed languages.</para>
    288 
     286-->
    289287  </sect2>
    290288
     
    299297      <seglistitem>
    300298        <seg>addr2name.awk, fastjar, gcj, gcj-dbtool,gcjh, gfortran, gij,
    301         gjnih, gnat, gnatbind, gnatbl, gnatchop, gnatclean, gnatfind, gnatkr,
    302         gnatlink, gnatls, gnatmake, gnatname, gnatprep, gnatxref, gprmake,
     299        gjnih, gprmake,
    303300        grepjar, grmic, grmiregistry, gtreelang, jcf-dump, jv-convert, jv-scan
    304301        and architecture specific names for gcj and gcjh</seg>
     
    307304        run-time libraries and executables in /usr/lib/gcc</seg>
    308305        <seg>/usr/include/c++/&gcc-version;/{gcj,gnu,java,javax,org},
    309         /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/ada{include,lib},
    310306        /usr/lib/gcj-&gcc-version;,
    311307        /usr/lib/security,
     
    409405        </listitem>
    410406      </varlistentry>
    411 
     407<!--
    412408      <varlistentry id="gnat">
    413409        <term><command>gnat</command></term>
     
    544540        </listitem>
    545541      </varlistentry>
    546 
     542-->
    547543      <varlistentry id="gprmake">
    548544        <term><command>gprmake</command></term>
Note: See TracChangeset for help on using the changeset viewer.