This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to add a (sub)target-specific '-W...' or '-f...' option?
On 11 Nov, 2003, at 12.58, Ian Lance Taylor wrote:
Ziemowit Laski <zlaski@apple.com> writes:
Is there a preferred method for doing this?
Generally subtarget specific options start with -m. Can you just use
a -m option? Many subtargets have -m options which are essentially
equivalent to -f options. -m options which are essentially equivalent
to -W options are admittedly less common.
Well, we have several legacy Apple-only options. :-( However, I think
I can just use the target-specific spec strings to translate these
into -m options and then go from there.
--Zem
--------------------------------------------------------------
Ziemowit Laski 1 Infinite Loop, MS 301-2K
Mac OS X Compiler Group Cupertino, CA USA 95014-2083
Apple Computer, Inc. +1.408.974.6229 Fax .5477