This is the mail archive of the
mailing list for the GCC project.
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.