This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]