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: 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


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