This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] ada: Avoid Systematic recompilation of up-to-date objects under Darwin
- From: Arnaud Charlet <charlet at adacore dot com>
- To: Bechir Zalila <bechir dot zalila at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Samuel Tardieu <sam at rfc1149 dot net>
- Date: Wed, 5 Dec 2007 18:05:20 +0100
- Subject: Re: [PATCH] ada: Avoid Systematic recompilation of up-to-date objects under Darwin
- References: <e0c9e7470712050546y37b7273by85c84afcb3cddedd@mail.gmail.com>
> The patchfile below solves the problem of systematic recompilation of
> Ada files when
> giving "-s" to gnatmake under darwin (ppc and x86). More details on
> this problem are
> described in bug report 34289.
The proposed change is very heavy, in particular introducing a new switch
just for the purpose of fixing this special order of switches under
darwin, so the patch as is is not OK.
I'd suggest instead to modify e.g. gcc.c and/or config/darwin.h. IIUC Darwin
uses a special hook, namely REAL_LIBGCC_SPEC, which very likely triggers the
problem in the first place.
Arno