Updated to GCC-4.5.1

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8763 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2011-01-03 23:47:42 +00:00
parent 5002cbeb4d
commit b9e74222a5
3 changed files with 35 additions and 32 deletions

View File

@ -3,13 +3,13 @@ $LastChangedBy$
$Date$ $Date$
--> -->
<!ENTITY day "03"> <!-- Always 2 digits --> <!ENTITY day "04"> <!-- Always 2 digits -->
<!ENTITY month "01"> <!-- Always 2 digits --> <!ENTITY month "01"> <!-- Always 2 digits -->
<!ENTITY year "2011"> <!ENTITY year "2011">
<!ENTITY copyrightdate "2001-&year;"> <!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team"> <!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "svn-&year;&month;&day;"> <!ENTITY version "svn-&year;&month;&day;">
<!ENTITY releasedate "January &day;rd, &year;"> <!ENTITY releasedate "January &day;th, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP --> <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] --> <!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- version|testing|unstable|development] --> <!ENTITY lfs-version "development"> <!-- version|testing|unstable|development] -->
@ -297,7 +297,7 @@ $Date$
<!ENTITY doxygen-version "1.6.3"> <!ENTITY doxygen-version "1.6.3">
<!ENTITY expect-version "5.44.1.15"> <!ENTITY expect-version "5.44.1.15">
<!ENTITY gc-version "6.8"> <!ENTITY gc-version "6.8">
<!ENTITY gcc-version "4.4.1"> <!ENTITY gcc-version "4.5.1">
<!ENTITY gcc3-version "3.3.6"> <!ENTITY gcc3-version "3.3.6">
<!ENTITY guile-version "1.8.7"> <!ENTITY guile-version "1.8.7">
<!ENTITY icedtea6-version "1.9"> <!ENTITY icedtea6-version "1.9">

View File

@ -6,14 +6,15 @@
<!ENTITY gcc-download-http "http://ftp.gnu.org/gnu/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2"> <!ENTITY gcc-download-http "http://ftp.gnu.org/gnu/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
<!ENTITY gcc-download-ftp "ftp://ftp.gnu.org/gnu/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2"> <!ENTITY gcc-download-ftp "ftp://ftp.gnu.org/gnu/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
<!ENTITY gcc-md5sum "927eaac3d44b22f31f9c83df82f26436"> <!ENTITY gcc-md5sum "48231a8e33ed6e058a341c53b819de1a">
<!ENTITY gcc-size "62.8 MB"> <!ENTITY gcc-size "66 MB">
<!ENTITY gcc-buildsize "~3.7 GB (build, test and install all compilers)"> <!ENTITY gcc-buildsize "~3.5 GB (build, test and install all compilers)">
<!ENTITY gcc-time "119 SBU (build, test and install all compilers)"> <!ENTITY gcc-time "126 SBU (build, test and install all compilers)">
<!ENTITY gnat-download-http "https://libre.adacore.com/libre/download/"> <!ENTITY gnat-download-http "https://libre.adacore.com/libre/download/">
<!ENTITY gnat-md5sum "88d82a34ab0b67d2c03cef93527ca863"> <!-- We don't know what platform, so this is commented out
<!ENTITY gnat-size "104 MB"> <!ENTITY gnat-md5sum "6425f2c7cabbdee4595b4b7c0d47237f">
<!ENTITY gnat-size "110 MB"> -->
]> ]>
<sect1 id="gcc" xreflabel="GCC-&gcc-version;"> <sect1 id="gcc" xreflabel="GCC-&gcc-version;">
@ -116,27 +117,17 @@
<para>If you plan to compile Ada, you will need to install <para>If you plan to compile Ada, you will need to install
<application>GNAT</application> temporarily to satisfy the circular <application>GNAT</application> temporarily to satisfy the circular
dependency when you recompile <application>GCC</application> dependency when you recompile <application>GCC</application>
to include Ada. The download location shown below requires that you to include Ada. At the AdaCore download page, choose your platform and
create an account on the AdaCore site before you can download the 2010, then select the file to download. You probably want the x86-linux
package. Nothing is required other than a valid email address.</para> or x86_64-linux file.</para>
<para>At the AdaCore download page, choose your platform and 2009. Then
scroll down and click on <quote>Files</quote>. Download the file named
<filename>gnat-gpl-2009-1-i686-gnu-linux-libc2.3-bin.tar.gz</filename>.
</para>
</note> </note>
<bridgehead renderas="sect3">GNAT GPL 2009 Package Information</bridgehead> <bridgehead renderas="sect3">GNAT GPL 2010 Package Information</bridgehead>
<itemizedlist spacing="compact"> <itemizedlist spacing="compact">
<listitem> <listitem>
<para>Download (HTTP): <ulink url="&gnat-download-http;"/></para> <para>Download (HTTP): <ulink url="&gnat-download-http;"/></para>
</listitem> </listitem>
<listitem>
<para>Download MD5 sum: &gnat-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &gnat-size;</para>
</listitem>
</itemizedlist> </itemizedlist>
<para condition="html" role="usernotes">User Notes: <para condition="html" role="usernotes">User Notes:
@ -163,7 +154,7 @@
source directory:</para> source directory:</para>
<screen><userinput>cd .. &amp;&amp; <screen><userinput>cd .. &amp;&amp;
rm -rf gnat-2009-i686-gnu-linux-libc2.3-bin</userinput></screen> rm -rf gnat-2010-i686-gnu-linux-libc2.3-bin</userinput></screen>
<para>Prepare to compile <application>GCC</application> by placing the <para>Prepare to compile <application>GCC</application> by placing the
<application>GNAT</application> version of <command>gcc</command> at the <application>GNAT</application> version of <command>gcc</command> at the
@ -194,8 +185,8 @@ export PATH=<replaceable>&lt;Your build directory&gt;</replaceable>/gnat/bin:$PA
until you are confident the build was successful. You can compare your until you are confident the build was successful. You can compare your
test results with those found at test results with those found at
<ulink url="http://gcc.gnu.org/ml/gcc-testresults/"/>. There's also an <ulink url="http://gcc.gnu.org/ml/gcc-testresults/"/>. There's also an
i686 32-bit platform test result produced by an LFS-6.5 system at i686 32-bit platform test result produced by an LFS-SVN20101029 system at
<ulink url="&files-anduin;/gcc441_test.txt"/>. You <ulink url="&files-anduin;/gcc451_test.txt"/>. You
may also want to refer to the information found in the may also want to refer to the information found in the
<application>GCC</application> section of Chapter 6 in the LFS <application>GCC</application> section of Chapter 6 in the LFS
book (<ulink url="&lfs-root;/chapter06/gcc.html"/>).</para> book (<ulink url="&lfs-root;/chapter06/gcc.html"/>).</para>
@ -213,7 +204,8 @@ export PATH=<replaceable>&lt;Your build directory&gt;</replaceable>/gnat/bin:$PA
foreign compiler.</para> foreign compiler.</para>
<screen><userinput>sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &amp;&amp; <screen><userinput>sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &amp;&amp;
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in &amp;&amp; sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in &amp;&amp;
sed -i 's/Standard/Types/' gcc/ada/uintp.adb &amp;&amp;
mkdir ../gcc-build &amp;&amp; mkdir ../gcc-build &amp;&amp;
cd ../gcc-build &amp;&amp; cd ../gcc-build &amp;&amp;
@ -221,6 +213,7 @@ cd ../gcc-build &amp;&amp;
../gcc-&gcc-version;/configure \ ../gcc-&gcc-version;/configure \
--prefix=/usr \ --prefix=/usr \
--libexecdir=/usr/lib \ --libexecdir=/usr/lib \
--with-system-zlib \
--enable-shared \ --enable-shared \
--enable-threads=posix \ --enable-threads=posix \
--enable-__cxa_atexit \ --enable-__cxa_atexit \
@ -268,7 +261,8 @@ unset PATH_HOLD</userinput></screen>
<title>Command Explanations</title> <title>Command Explanations</title>
<para>The two <command>sed</command> commands are the same ones used <para>The two <command>sed</command> commands are the same ones used
during the build of LFS.</para> during the build of LFS. The third one fixes an issue with the ADA
build.</para>
<para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The <para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The
<application>GCC</application> documentation recommends <application>GCC</application> documentation recommends
@ -339,10 +333,10 @@ unset PATH_HOLD</userinput></screen>
libgfortranbegin.a, libgij.{so,a}, libobjc.{so,a} and numerous other libgfortranbegin.a, libgij.{so,a}, libobjc.{so,a} and numerous other
run-time libraries and executables in /usr/lib/gcc</seg> run-time libraries and executables in /usr/lib/gcc</seg>
<seg>/usr/include/c++/&gcc-version;/{gcj,gnu,java,javax,org}, <seg>/usr/include/c++/&gcc-version;/{gcj,gnu,java,javax,org},
/usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/ada{include,lib}, /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/ada{include,lib},
/usr/lib/gcj-&gcc-version;, /usr/lib/gcj-&gcc-version;,
/usr/lib/security /usr/lib/security,
and /usr/share/java</seg> and /usr/share/java</seg>
</seglistitem> </seglistitem>
</segmentedlist> </segmentedlist>

View File

@ -41,6 +41,15 @@
--> -->
<listitem>
<para>January 4th, 2011</para>
<itemizedlist>
<listitem>
<para>[randy] - Updated to GCC-4.5.1.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem> <listitem>
<para>January 3rd, 2011</para> <para>January 3rd, 2011</para>
<itemizedlist> <itemizedlist>