This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Patch for language specific Makefile check targets
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Steve Ellcey <sje at cup dot hp dot com>, Binutils Development <binutils at sourceware dot org>
- Cc: Paolo Bonzini <bonzini at gnu dot org>, gcc-patches at gcc dot gnu dot org, David Ayers <ayers at fsfe dot org>
- Date: Thu, 9 Apr 2009 08:02:00 -0700
- Subject: Re: Patch for language specific Makefile check targets
- References: <49D1E519.6080704@gnu.org> <200903312037.n2VKbeR14478@lucas.cup.hp.com>
On Tue, Mar 31, 2009 at 1:37 PM, Steve Ellcey <sje@cup.hp.com> wrote:
> On Tue, 2009-03-31 at 11:40 +0200, Paolo Bonzini wrote:
>
>> The if is not needed because you are within an "@if gcc" block of
>> Makefile.tpl. ?Otherwise okay, but please can you investigate generating
>> it automatically from Makefile.def, like
>>
>> language = { language=c; gcc-check-target=check-gcc; }
>> language = { language=fortran; check-target=check-target-libgfortran;
>> ? ? ? ? ? ? ?gcc-check-target=check-fortran; }
>>
>> Thanks!
>>
>> Paolo
>
> OK, here is a new version using Makefile.def and generic targets in
> Makefile.tpl that get expanded by autogen. ?I also added the
> check-obj-c++ and check-gcc-obj-c++ targets that David Ayers asked about,
> check-obj-c++ ?tests both the objc and libstdc++-v3 runtime libraries in
> addition to the obj-c++ compiler.
>
> OK to checkin?
>
> Steve Ellcey
> sje@cup.hp.com
>
>
> 2009-03-31 ?Steve Ellcey ?<sje@cup.hp.com>
>
> ? ? ? ?* Makefil.def (languages): New entries.
> ? ? ? ?* Makefile.tpl (check-gcc-<language>): New generic target.
> ? ? ? ?(check-gcc-c++): Removed, replaced with above.
> ? ? ? ?(check-<language>) New generic target.
> ? ? ? ?(check-c++): Removed, replaced with above.
> ? ? ? ?* Makefile.in: Regenerate.
> ? ? ? ?* gcc/doc/sourcebuild.texi: Update front-end requirements.
>
>
Shouldn't those top level changes also be applied to src? I will do it shortly.
--
H.J.