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]

[PING][PATCH] Target tools detection cleanup, fixing cross Ada builds [was Re: RTEMS GCC Status Report]


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.



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