This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Framework support for darwin
- From: Mike Stump <mrs at apple dot com>
- To: Neil Booth <neil at daikokuya dot co dot uk>, Geoff Keating <geoffk at geoffk dot org>
- Cc: gcc-patches at gcc dot gnu dot org, Devang Patel <dpatel at apple dot com>
- Date: Tue, 26 Aug 2003 20:25:02 -0700
- Subject: Re: Framework support for darwin
Here is the latest version of the framework patch. I'm of the
considered opinion, the target hooks are not appropriate for cpplib.
The below patch still contains the hook code, but, notice the
conditional that we were trying to avoid in register_include_chains
can't be gotten rid of. One cannot initialize targetm, as then you
need the full back end for fix-header, and the full backend can't work,
as fix-header isn't a frontend...
So, should I de-hookize cpplib things for fix-header, or leave it the
way it is. It will work, but I don't find it, uhm, nicer.
Also, one cannot hookize the TARGET_C_INIT stuff, as that is the magic
to allow the target hooks to work in the first place. Again, the
disease seemed preferable to me.
Attachment:
frameworkg.diffs.txt
Description: Text document