[Bug other/67304] Allow front-ends to share command-line options with different behaviours

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Fri Aug 21 11:13:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67304

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Fri, 21 Aug 2015, ibuclaw at gdcproject dot org wrote:

> -D             generate documentation

The driver needs to know what's an option and what's an option argument, 
so that it can identify input files and know what front end or front ends 
to run.  How would you expect it to distinguish your front end's -D (an 
option on its own) from the C "-D foo" (option with separate argument)?  
Or are you only interested in these options for a language-specific driver 
program, not with the generic "gcc" driver?



More information about the Gcc-bugs mailing list