This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: configury assembler features
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 8 Apr 2002 11:27:58 +0930
- Subject: Re: configury assembler features
- References: <20020320021405.GO1089@bubble.sa.bigpond.net.au> <20020319213306.A31255@nevyn.them.org> <20020320025553.GP1089@bubble.sa.bigpond.net.au> <orr8m2fthx.fsf@free.redhat.lsd.ic.unicamp.br> <20020408004723.GV1042@bubble.sa.bigpond.net.au> <oru1qnnglr.fsf@free.redhat.lsd.ic.unicamp.br>
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