diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-21 19:16:45 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-21 19:16:45 +0000 |
commit | e74f4b65a6d9dceddfc5a91bc9b3a73003de1787 (patch) | |
tree | 81861d24111c174c59b1681fad848c36c6d813c3 /contrib | |
parent | c63e27d8308a92ef01fefc139e574d9d2c3e1108 (diff) | |
download | gcc-e74f4b65a6d9dceddfc5a91bc9b3a73003de1787.tar.gz |
* gcc_build: Remove code to put information in a log file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37624 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ChangeLog | 4 | ||||
-rwxr-xr-x | contrib/gcc_build | 22 |
2 files changed, 10 insertions, 16 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 8f5dfe54cd4..46c71338d22 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2000-11-21 Mark Mitchell <mark@codesourcery.com> + + * gcc_build: Remove code to put information in a log file. + 2000-11-19 Zack Weinberg <zackw@stanford.edu> * texi2pod.pl: diff --git a/contrib/gcc_build b/contrib/gcc_build index f20366e9600..61b34e21fc5 100755 --- a/contrib/gcc_build +++ b/contrib/gcc_build @@ -127,7 +127,7 @@ update_gcc() { changedir ${DESTINATION} # Update the tree - (./contrib/gcc_update | tee -a ${LOGFILE}) || \ + ./contrib/gcc_update || \ error "Could not update GCC" } @@ -146,8 +146,7 @@ configure_gcc() { changedir ${OBJDIR} # Configure the tree. - (eval ${DESTINATION}/configure ${CONFIGURE_OPTIONS} 2>&1 | - tee -a ${LOGFILE}) || \ + eval ${DESTINATION}/configure ${CONFIGURE_OPTIONS} || \ error "Could not configure the compiler" } @@ -160,8 +159,7 @@ bootstrap_gcc() { changedir ${OBJDIR} # Bootstrap the compiler - (eval ${MAKE} ${MAKE_BOOTSTRAP_OPTIONS} bootstrap 2>&1 | - tee -a ${LOGFILE}) || \ + eval ${MAKE} ${MAKE_BOOTSTRAP_OPTIONS} bootstrap || \ error "Could not bootstrap the compiler" } @@ -174,8 +172,8 @@ test_gcc() { changedir ${OBJDIR} echo "Running tests... This will take a while." - (${MAKE} -k check 2>&1 | tee -a ${LOGFILE}) - (${DESTINATION}/contrib/test_summary | tee -a ${LOGFILE}) + ${MAKE} -k check + ${DESTINATION}/contrib/test_summary } # Export the GCC source tree. @@ -202,8 +200,7 @@ install_gcc() { # Go to the object directory. changedir ${OBJDIR} - (${MAKE} install 2>&1 | tee -a ${LOGFILE}) || \ - error "Installation failed" + ${MAKE} install || error "Installation failed" } ######################################################################## @@ -225,8 +222,6 @@ DESTINATION="${HOME}/dev/gcc" # object directory. OBJDIR="objdir" -# The file where information will be logged. -LOGFILE=${HOME}/build-gcc.$$.log # The file where the tarred up sources will be placed. TARFILE="${HOME}/dev/gcc.tgz" @@ -286,11 +281,6 @@ if [ ${CHECKOUT} -ne 0 ] && [ ${UPDATE} -ne 0 ]; then error "Cannot checkout and update simultaneously" fi -# Remove any old logfiles. -rm -f ${LOGFILE} -# Tell the user where to find the logfile. -echo "gcc_build: The logfile for this run is ${LOGFILE}" - # Checkout the tree. if [ ${CHECKOUT} -ne 0 ]; then checkout_gcc |