adding a new -f switch

Jim Wilson wilson@tuliptree.org
Wed Jun 25 21:39:00 GMT 2003


Sanjiv Kumar Gupta, Noida wrote:
> After flag_dummy changes in toplev.c,
> what all one has to do in order to add a new -f switch.

Try using grep.  Pick an existing switch, like fbuiltin, grep every file 
for it, and then presumably to add a new option you add something 
everyplace where the fbuiltin option is mentioned.  Don't forget to 
check every language front end.

Jim




More information about the Gcc mailing list