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 for language specific Makefile check targets


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.


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