This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] thinko in finding tools
- From: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 25 Jul 2005 14:47:43 +0200
- Subject: [committed] thinko in finding tools
The "desperate attempt" at finding target tools was using
/usr/local/{as,ld,nm} rather than /usr/local/bin/{as,ld,nm}. Fixed with
the attached patch.
Paolo
2005-07-25 Paolo Bonzini <bonzini@gnu.org>
* aclocal.m4 (gcc_AC_CHECK_TOOL): Add /bin to default directory.
* configure: Regenerate.
Index: aclocal.m4
===================================================================
RCS file: /cvs/gcc/gcc/gcc/aclocal.m4,v
retrieving revision 1.110
diff -p -u -r1.110 aclocal.m4
--- aclocal.m4 6 Jul 2005 20:12:52 -0000 1.110
+++ aclocal.m4 25 Jul 2005 12:16:11 -0000
@@ -731,7 +731,7 @@ if test "x[$]$1" = x; then
default_tool_name=`echo $2 | sed "${program_transform_name}"`
fi
AC_PATH_PROGS($1, $default_tool_name,
- $gcc_cv_tool_prefix/$default_tool_name$build_exeext)
+ $gcc_cv_tool_prefix/bin/$default_tool_name$build_exeext)
fi
test "$silent" != yes && exec AS_MESSAGE_FD([])>&1