This is the mail archive of the gcc@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: ASM_SPECS on recent GCC 4.3.3 (4.X)



On Mon, 2 Mar 2009, Andrew Pinski wrote:

> On Mon, Mar 2, 2009 at 5:16 AM, Takis Psarogiannakopoulos
> <takis@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
>


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