This is the mail archive of the gcc-bugs@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]

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


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?


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