This is the mail archive of the gcc-patches@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: PATCH: command line options that start -b or -V


On Wednesday, December 11, 2002, at 10:49 PM, Geoffrey Keating wrote:

On Wednesday, December 11, 2002, at 08:04  PM, Devang Patel wrote:

[ reference : http://gcc.gnu.org/ml/gcc-patches/2002-10/msg01963.html]

2002-12-11 Devang Patel <dpatel@apple.com>
* gcc.c (target_special_option): New macro.
(process_command): Add new check using target_special_option macro.
* config/darwin.h: Define target_special_option

Bootstrapped on powerpc-apple-darwin. Running tests.
OK to commit to mainline if everything goes OK?

You can't add target-specific code before the -b option is executed. Anything you do must either not be target-specific or happen after -b.
hmm... but we need to skip target specific options like -bundle while processing -b.
What if I move target_special_option macro from config/darwin.h in to gcc.c ?
any other suggestion ?

Thanks,
-Devang


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