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]

Re: configury assembler features


On Sun, Apr 07, 2002 at 10:06:56PM -0300, Alexandre Oliva wrote:
> On Apr  7, 2002, Alan Modra <amodra@bigpond.net.au> wrote:
> 
> > This would be nice, but the top level Makefile.in uses
> 
> > AS = as
> > LD = ld
> > etc.
> 
> So what?  The top-level configure substitutes them regardless.

Blush.  So it does.  Assuming the following passes bootstrap etc., is
it OK for mainline and branch?

	* configure.in (gcc_cv_as, gcc_cv_ld): Search install paths when
	build != host too.
	* configure: Regenerate

Index: gcc/configure.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.in,v
retrieving revision 1.582
diff -u -p -r1.582 configure.in
--- gcc/configure.in	4 Apr 2002 02:48:11 -0000	1.582
+++ gcc/configure.in	8 Apr 2002 01:51:36 -0000
@@ -1222,7 +1222,7 @@ changequote(,)dnl
 changequote([,])dnl
 fi
 
-if test "x$gcc_cv_as" = x -a x$build = x$host; then
+if test "x$gcc_cv_as" = x; then
 	# Search the same directories that the installed compiler will
 	# search.  Else we may find the wrong assembler and lose.  If we
 	# do not find a suitable assembler binary, then try the user's
@@ -1318,7 +1318,7 @@ changequote(,)dnl
 changequote([,])dnl
 fi
 
-if test "x$gcc_cv_ld" = x -a x$build = x$host; then
+if test "x$gcc_cv_ld" = x; then
 	# Search the same directories that the installed compiler will
 	# search.  Else we may find the wrong linker and lose.  If we
 	# do not find a suitable linker binary, then try the user's

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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