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


On Mon, Dec 17, 2001 at 04:30:31PM -0800, Zack Weinberg wrote:
> 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."

No.  To avoid complicating the backend, cpp0 would have to 
process the -m options just like toplev.c does, which means
including mips.o, at which point things go to hell.


r~


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