This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PING][PATCH] Target tools detection cleanup, fixing cross Ada builds [was Re: RTEMS GCC Status Report]
- From: Laurent GUERBY <laurent at guerby dot net>
- To: Mark Mitchell <mark at codesourcery dot com>, Alexandre Oliva <aoliva at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- Date: Fri, 25 Nov 2005 22:48:41 +0100
- Subject: [PING][PATCH] Target tools detection cleanup, fixing cross Ada builds [was Re: RTEMS GCC Status Report]
- References: <437D9558.10305@codesourcery.com> <437E442D.1090807@OARcorp.com> <1132350916.6774.1813.camel@pc.site> <437E51A6.907@OARcorp.com> <437E5BC2.20800@lu.unisi.ch> <437E65B7.1040307@lu.unisi.ch>
Ping.
Laurent
On Sat, 2005-11-19 at 00:37 +0100, Paolo Bonzini wrote:
> > Here is the updated version of the patch.
>
> Which also included some (clearly identifiable) hunks that did not
> belong in the patch. They are not triggered without toplevel bootstrap,
> but here is the patch without them.
>
> I have been using this patch daily for weeks (even though I don't build
> Ada, so the original bug does not show up for me and most other people
> using unified trees). I would be okay also with approval for 4.2 and a
> later backport, since the branch is going to happen RSN. Though, let me
> recall that Joel Sherrill has also tested this patch quite heavily.
>
> Paolo
> 2005-11-05 Paolo Bonzini <bonzini@gnu.org>
>
> * configure.in (CONFIGURED_BISON, CONFIGURED_YACC, CONFIGURED_M4,
> CONFIGURED_FLEX, CONFIGURED_LEX, CONFIGURED_MAKEINFO): Remove
> "CONFIGURED_" from the AC_CHECK_PROGS invocation. Move below.
> Find in-tree tools if available.
> (EXPECT, RUNTEST, LIPO, STRIP): Find them and substitute them.
> (CONFIGURED_*_FOR_TARGET): Don't set nor substitute.
> (*_FOR_TARGET): Set them with GCC_TARGET_TOOL.
> (COMPILER_*_FOR_TARGET): New.
> * Makefile.tpl (HOST_EXPORTS): Add *_FOR_TARGET symbols that gcc needs.
> (EXTRA_HOST_FLAGS): Pass LIPO and STRIP.
> (BASE_TARGET_EXPORTS, EXTRA_TARGET_FLAGS): Use COMPILER_*_FOR_TARGET
> symbols.
> (CONFIGURED_*, USUAL_*): Remove.
> (BISON, YACC, FLEX, LEX, M4, MAKEINFO, EXPECT, RUNTEST, LIPO,
> STRIP): Use autoconf substitutions.
> (COMPILER_AS_FOR_TARGET, COMPILER_LD_FOR_TARGET,
> COMPILER_NM_FOR_TARGET): New.
>
> (all): Make all-host and all-target in parallel. When bootstrapping,
> invoke stage3-bubble.
> (stage[+id+]-bubble): Likewise, and invoke the comparison at the end.
> ([+bootstrap-target+]): Inline most of the `all' target.
>
> config:
> 2005-11-05 Paolo Bonzini <bonzini@gnu.org>
>
> * acx.m4 (GCC_TARGET_TOOL): New.