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: Addition of options in GCC


On Mon, Feb 24, 2014 at 12:32:22PM +0100, Alangi Derick wrote:
> Hi
>     When looking at the gcc/gcc.c file, i noticed that some basic
> options were not added to notify the user of gcc to be able to use it
> and its essence. So due to this, i added some of the options like the
> -ansi option. This file contains some other options like the -w and -Q
> options.


gcc is mostly a driver program. The real work happens in cc1 or cc1plus (which is started by gcc). So you need to look inside gcc/toplev.c and gcc/*.opt files....

Regards.


-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***


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