How is lang.opt processed?
Mike Stump
mrs@apple.com
Sat Mar 12 00:12:00 GMT 2005
On Friday, March 11, 2005, at 03:42 PM, James E Wilson wrote:
> If you do need to extend the system, then it is best to use option
> names similar to existing ones. For instance, -z and -Z are assumed
> to be linker options, so if you need a new linker option then
> something like -zthis or -Zthat might be a good choice. This trick is
> used by darwin which supports a slew of -Z* options that look mostly
> like special linker options.
Let me further clarify. There are a host of linker options that we
translate (grep TRANSLATE in darwin.h) into -Z options, that start out
with otherwise conflicting names -segblabla...
More information about the Gcc
mailing list