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] ada: Avoid Systematic recompilation of up-to-date objects under Darwin


> 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


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