diff --git a/general.ent b/general.ent
index 92248bbb02..371baa1f94 100644
--- a/general.ent
+++ b/general.ent
@@ -57,7 +57,7 @@ $Date$
-
+
- GNAT GPL 2011 Package Information
+
+ GNAT GPL 2013 Package Information
Download (HTTP):
@@ -120,30 +121,30 @@
Installation of GNAT
Before unpacking and changing into the GCC source directory, first
- unpack the GNAT tarball and change into the
- newly created directory and install GNAT by
- running the following command:
+ unpack the GNAT tarball. You may have to drill
+ down several levels and unpack a second tarball. For example,
+ AdaCore-Download-2013-07-22_0530.tar expands to
+ x86_64-linux/2013/gnatgpl/gnat-gpl-2013-x86_64-pc-linux-gnu-bin.tar.gz.
+ Expand this second tarball and change into the newly created directory.
+ Install GNAT by running the following
+ command:
-make ins-all prefix=<Your build directory>/gnat
+make ins-all prefix=/opt/gnat
- The GNAT compiler can be
- invoked by executing the gcc binary installed
- in <Your build directory>/gnat/bin.
+ The GNAT compiler can be invoked by
+ executing the gcc binary installed in /opt/gnat/bin.
You may now remove the GNAT
- source directory:
-
-cd .. &&
-rm -rf gnat-2011-*
+ source directory if desired.
Prepare to compile GCC by placing the
GNAT version of gcc at the
beginning of the PATH variable by using the following
- commands:
+ commands as the root user:
PATH_HOLD=$PATH &&
-export PATH=<Your build directory>/gnat/bin:$PATH_HOLD
+export PATH=/opt/gnat/bin:$PATH_HOLD
Doing so has the drawback that the GCC
and Binutils executables are taken
@@ -154,8 +155,8 @@ export PATH=<Your build directory>/gnat/bin:$PA
hand, the outdated ld and as tools
are used all along. In order to use the LFS tools, issue:
-find <Your build directory>/gnat -name ld -exec mv -v \{\} \{\}.old \;
-find <Your build directory>/gnat -name as -exec mv -v \{\} \{\}.old \;
+find /opt/gnat -name ld -exec mv -v {} {}.old \;
+find /opt/gnat -name as -exec mv -v {} {}.old \;
@@ -187,13 +188,13 @@ find <Your build directory>/gnat -name as -exec
The instructions below let the build machinery perform a
bootstrap
intentionally. This is necessary if you
- install the ADA compiler anyway. Even
+ install the Ada compiler anyway. Even
if you don't, a bootstrap is recommended for robustness.
-sed -i 's/\(install.*:\) install-.*recursive/\1/' libffi/Makefile.in &&
-sed -i 's/\(install-data-am:\).*/\1/' libffi/include/Makefile.in &&
-sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &&
-sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in &&
+sed -i 's/\(install.*:\) install-.*recursive/\1/' libffi/Makefile.in &&
+sed -i 's/\(install-data-am:\).*/\1/' libffi/include/Makefile.in &&
+sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &&
+sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in &&
case `uname -m` in
i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;;
@@ -215,8 +216,9 @@ cd ../gcc-build &&
--enable-lto \
--enable-languages=c,c++,fortran,ada,go,java,objc,obj-c++ &&
-make &&
-make -k check &&
+make &&
+ulimit -s 32768 &&
+make -k check &&
../gcc-&gcc-version;/contrib/test_summary
@@ -225,7 +227,7 @@ make -k check &&
make install &&
ln -v -sf ../usr/bin/cpp /lib &&
-ln -v -sf gcc /usr/bin/cc &&
+ln -v -sf gcc /usr/bin/cc &&
chown -v -R root:root \
/usr/lib/gcc/*linux-gnu/&gcc-version;/include{,-fixed} \
@@ -239,11 +241,10 @@ chown -v -R root:root \
ln -v -sf `find /usr/lib/gcc -name ffitarget.h` /usr/include-->
- You should now become the unprivileged user and remove the
- GNAT installation and perform other
- cleanups:
+ You should now remove the GNAT
+ installation and perform other cleanups:
-rm -rf <Your build directory>/gnat &&
+rm -rf /opt/gnat &&
export PATH=$PATH_HOLD &&
unset PATH_HOLD
@@ -286,6 +287,9 @@ unset PATH_HOLD
This command identifies which languages to build. You may modify
this command to remove undesired languages.
+ ulimit -s 32768: This command prevents several
+ tests from running out of stack space.
+
make -k check: This command runs the test suite
without stopping if any errors are encountered.
diff --git a/general/prog/openjdk.xml b/general/prog/openjdk.xml
index 91f5466362..9a343dbea0 100644
--- a/general/prog/openjdk.xml
+++ b/general/prog/openjdk.xml
@@ -46,7 +46,7 @@
]>
-
+
diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml
index 2035296113..6602152d4c 100644
--- a/introduction/welcome/changelog.xml
+++ b/introduction/welcome/changelog.xml
@@ -46,6 +46,10 @@
July 22nd, 2013
+
+ [bdubbs] - Update to gcc-4.8.1 to bring in sync with
+ LFS.
+
[igor] - MesaLib-9.1.5