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. Thanks, Andrew Pinski