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]

new option --target-help to gcc (fwd)


This looks pretty useful, but I never saw any responses.

Comments?

Andrew.


Chandra Chavva writes:
 > Hi,
 > 
 > I have introduced --target-help option to the gcc which will display 
 > target specific commands of each tool. If invoked with this option, the 
 > gcc will pass this option to each tool and if that tool has any target 
 > specific commands, those will get displayed to standard out.
 > 
 > I have added description to all mips target specific options. some of 
 > the options descriptions were not clear, i left them as it is. Please 
 > let me know, if my descriptions are wrong or needs to be changed.
 > 
 > Please let me know is it okay to apply this patch.
 > 
 > Thanks
 > Chandra
 > 
 >         * gcc.c: New variable target_help_flag.
 >         (display_help): Add new option and its description.
 >         (process_command): Use it.
 >         * toplev.c (display_target_options): New function.
 >         (display_help): Use it.
 >         * cccp.c (main): Use the above new option.
 >         * config/mips/mips.h: Add description to options under
 >         TARGET_SWITCHES and TARGET_OPTIONS.
 > 
 >         * as.c (Options): Mention --target-help.
 >         (parse_args): Accept --target-help.
 > 
 >         * lexsup.c (ld_options): Mention --target-help.
 >         (parse_args): Accept --target-help.

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