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: 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...



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