forked from len0rd/rockbox
Figure out the version of ld (binutils) and display it on stdout, so that
the distributed build system easier can catch it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14643 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4bb2eeee3a
commit
6c24189d27
1 changed files with 6 additions and 0 deletions
6
tools/configure
vendored
6
tools/configure
vendored
|
|
@ -1537,6 +1537,10 @@ fi
|
|||
# Now, figure out version number of the (gcc) compiler we are about to use
|
||||
gccver=`$CC -dumpversion`;
|
||||
|
||||
# figure out the binutil version too and display it, mostly for the build
|
||||
# system etc to be able to see it easier
|
||||
ldver=`$LD --version | head -n 1 | cut "-d " -f4`
|
||||
|
||||
if [ -z "$gccver" ]; then
|
||||
echo "WARNING: The compiler you must use ($CC) is not in your path!"
|
||||
echo "WARNING: this may cause your build to fail since we cannot do the"
|
||||
|
|
@ -1579,6 +1583,8 @@ else
|
|||
|
||||
fi
|
||||
|
||||
echo "Using $LD $ldver"
|
||||
|
||||
# check the compiler for SH platforms
|
||||
if test "$CC" = "sh-elf-gcc"; then
|
||||
if test "$gccnum" -lt "400"; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue