path: root/tools
diff options
authorDaniel Stenberg <>2007-09-08 21:45:21 +0000
committerDaniel Stenberg <>2007-09-08 21:45:21 +0000
commit6c24189d27f1bdd6f2e0458ada99a8d7e5896689 (patch)
treeaa40339e79bdd8412aed436756bf1a0214ed39bc /tools
parent4bb2eeee3a7be781b419c6c3d62168b9840542f8 (diff)
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:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
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
# 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
+echo "Using $LD $ldver"
# check the compiler for SH platforms
if test "$CC" = "sh-elf-gcc"; then
if test "$gccnum" -lt "400"; then