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



> Or, possibly even better, get the driver to pass the correct -D
> commands on the command line.  This doesn't require the front ends to
> be integrated with all preprocessors, and is what would probably
> happen if I ever do my specs replacement.

This is what the mips backend does currently, just via specs files. If
you want to see just how bad this is in general take a look at
gcc/config/mips/isa3264.h. That was a first attempt at doing this in a
general way - and doesn't work. As I'm trying to donate additional mips
targets I run into many instances of this, all different and all not
sufficient. :)

A specs replacement where I could use C to define what is passed would
be wonderful :)

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