Re: SUBTARGET_OPTIONS / SUBTARGET_SWITCHES with .opt

2005-04-04 Thread Aldy Hernandez
> A back end for a target architecture in GCC has the following parts: > [...] > @item > An optional @[EMAIL PROTECTED] file in the @[EMAIL PROTECTED] > directory, containing a list of target-specific options. You can also > add other option files using the @code{extra_opti

Re: SUBTARGET_OPTIONS / SUBTARGET_SWITCHES with .opt

2005-04-03 Thread Richard Sandiford
Aldy Hernandez <[EMAIL PROTECTED]> writes: > I've been converting the ppc options to use the .opt machinery, and > am confused as to how to approach subtargets. > > What's the deal with these? > > I need options only for certain subtargets. For example, aix.h has > some options that should not be

Re: SUBTARGET_OPTIONS / SUBTARGET_SWITCHES with .opt

2005-03-30 Thread Zack Weinberg
Aldy Hernandez <[EMAIL PROTECTED]> writes: > I need options only for certain subtargets. For example, aix.h has > some options that should not be available by other targets. Take a look at how this is done for the ia64-hpux port. zw

SUBTARGET_OPTIONS / SUBTARGET_SWITCHES with .opt

2005-03-30 Thread Aldy Hernandez
Hi Richard. I've been converting the ppc options to use the .opt machinery, and am confused as to how to approach subtargets. What's the deal with these? I need options only for certain subtargets. For example, aix.h has some options that should not be available by other targets. I don't see a