This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How is lang.opt processed?
- From: Mike Stump <mrs at apple dot com>
- To: James E Wilson <wilson at specifixinc dot com>
- Cc: Toon Moene <toon at moene dot indiv dot nluug dot nl>, gcc at gcc dot gnu dot org
- Date: Fri, 11 Mar 2005 16:12:14 -0800
- Subject: Re: How is lang.opt processed?
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...