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] Add target hook in C front end



> 
> Here's an alternate idea.  What if we add an option-processing hook to
> libcpp?  It would be as simple as "all -m switches are handed to this
> callback routine."  The MIPS back end could then define this hook to
> calculate the appropriate value for __SIZE_TYPE__ and pass it to
> cpp_define.  If properly written it would work correctly both with the
> standalone and integrated preprocessors.
> 

Sold! To the man in the back with the new suggestion :)

Seriously, if you and Joseph both go for this lemme know what I'd have
to do.

-eric

-- 
Fridays are not "pants optional"


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