Framework support for darwin

Mike Stump mrs@apple.com
Wed Aug 27 03:25:00 GMT 2003


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.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: frameworkg.diffs.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030827/c7bbe654/attachment.txt>


More information about the Gcc-patches mailing list