Update of /cvsroot/linux-vax/toolchain
In directory sc8-pr-cvs1:/tmp/cvs-serv18747
Modified Files:
build-vax.sh
Log Message:
- Remove output redirection. This allows the script to catch build
errors of the toolchain sources and to properly exit.
- Add comment about c-gperf.h.
Index: build-vax.sh
===================================================================
RCS file: /cvsroot/linux-vax/toolchain/build-vax.sh,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- build-vax.sh 16 Feb 2003 23:35:07 -0000 1.1.1.1
+++ build-vax.sh 13 Nov 2003 16:26:37 -0000 1.2
@@ -11,6 +11,7 @@
#
# updated - atp July 2000 for binutils 2.10 gcc 2.95 + CVS
# Updated - atp aug 2000 - add in prefix and clean command line options.
+# Updated - jbglaw Nov 2003 - removed output redirection to catch build errors
#
# The script is invoked in the following manner:
# sh build-vax.sh [install] --enable-maintainer-mode --enable-languages=c
@@ -129,24 +130,32 @@
if [ ! -f configure.done ]
then
echo "$0: configure for $target."
- ../src/configure $cmdline 2>&1 | tee configure.log
+ ../src/configure $cmdline
touch configure.done
fi
+#
+# FIXME: Due to CVS timestamp problems, moon phase, number of chickens
+# sacrifice and other important evenst, ../src/gcc/c-gperf.h should be
+# touch(1)ed to prevent it from being rebuilt. But for now, we're not
+# doing that, just to work out the *real* problem.
+#
+# touch ../src/gcc/c-gperf.h
+#
+
echo "$0: compile binutils, gcc, and newlib."
#note, the LANGUAGES here is due to go away according to gcc docs.
-make cross LANGUAGES=$langs 2>&1 | tee make.log
+make cross LANGUAGES=$langs
echo "$0: creating info files"
-make info LANGUAGES=$langs 2>&1 | tee info.log
+make info LANGUAGES=$langs
# Compilation done, install if asked to do so.
if [ x"$install" = xyes ]
then
echo "$0: installing binutils, gcc, and newlib in $prefix."
- make install LANGUAGES=$langs 2>&1 | tee install.log
+ make install LANGUAGES=$langs
fi
-
# Announce that we're finished.
echo "$0: finished `date`"
|