On Mon, 2 Mar 2009, Andrew Pinski wrote:
> On Mon, Mar 2, 2009 at 5:16 AM, Takis Psarogiannakopoulos > <ta...@xfree86.org> wrote: > > Also you saying basically that there is no other way to customize > > GCC (anymore) other than to hack the original .opt source files. I would > > prefer really to hack a .c file than the .opt files. > > Why? .opt files are used to generate a .h and a .c file. They are a > simpler interface. You can have multiple subtargets without much > trouble, see how config/darwin.opt and darwin.opt are used. This > without any worry if the architecture supports SUBTARGET_OPTIONS. You > used add the .opt file to extra_options and you get the correct > behavior without much worry. > OK thats perfect darwin.opt is what I am looking (and asking for) really! If that model exists I agree no need for SUBTARGET_SWITCHES Thnaks Andrew for pointing this out > Thanks, > Andrew Pinski >