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:[PATCH] Target tools detection cleanup, fixing cross Ada builds [was Re: RTEMS GCC Status Report]


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.

I think this patch is OK, except that I'm not sure about the COMPILER_*_FOR_TARGET parts. Judging by the list discussion, though, no-one else is sure about those anyway, so I'll approve the patch.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


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