Patch for language specific Makefile check targets
H.J. Lu
hjl.tools@gmail.com
Thu Apr 9 15:02:00 GMT 2009
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.
More information about the Gcc-patches
mailing list