diff options
Diffstat (limited to 'tools/configure')
-rwxr-xr-x | tools/configure | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure index bdc1eb0dae..2f1511b19a 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -1537,6 +1537,10 @@ fi | |||
1537 | # Now, figure out version number of the (gcc) compiler we are about to use | 1537 | # Now, figure out version number of the (gcc) compiler we are about to use |
1538 | gccver=`$CC -dumpversion`; | 1538 | gccver=`$CC -dumpversion`; |
1539 | 1539 | ||
1540 | # figure out the binutil version too and display it, mostly for the build | ||
1541 | # system etc to be able to see it easier | ||
1542 | ldver=`$LD --version | head -n 1 | cut "-d " -f4` | ||
1543 | |||
1540 | if [ -z "$gccver" ]; then | 1544 | if [ -z "$gccver" ]; then |
1541 | echo "WARNING: The compiler you must use ($CC) is not in your path!" | 1545 | echo "WARNING: The compiler you must use ($CC) is not in your path!" |
1542 | echo "WARNING: this may cause your build to fail since we cannot do the" | 1546 | echo "WARNING: this may cause your build to fail since we cannot do the" |
@@ -1579,6 +1583,8 @@ else | |||
1579 | 1583 | ||
1580 | fi | 1584 | fi |
1581 | 1585 | ||
1586 | echo "Using $LD $ldver" | ||
1587 | |||
1582 | # check the compiler for SH platforms | 1588 | # check the compiler for SH platforms |
1583 | if test "$CC" = "sh-elf-gcc"; then | 1589 | if test "$CC" = "sh-elf-gcc"; then |
1584 | if test "$gccnum" -lt "400"; then | 1590 | if test "$gccnum" -lt "400"; then |