#!/bin/bash
# buildtoolchain-step09-gccversion v1.2 08/13/02
# www.embeddedlinuxinterfacing.com
#
# The original location of this script is
# http://www.embeddedlinuxinterfacing.com/chapters/03/buildtoolchain
# See buildtoolchain script for General Public License statement
#
if [ ! $BUILDTOOLCHAINENV ]
then
. ./buildtoolchain-environment $1
fi
#
# Step 9 - gcc Version Check
date "+%x %X - Started: $0"
date "+%x %X - Started: $0" >> $SRCFILELOC/output-build-status
echo -n "$TARGET-gcc version is "
$TARGET-gcc --version
date "+%x %X - Completed: $0"
date "+%x %X - Completed: $0" >> $SRCFILELOC/output-build-status
#beep
echo -e "\07"