C and C++ standards using in GCC

Ian Lance Taylor iant@google.com
Tue Jun 15 17:27:00 GMT 2010


keshav yadav <keshav.yadav2005@gmail.com> writes:

> I check this file, it takes options to set GCC standard. But in source
> code i could not able to find the exact location, where GCC set a
> particular standard, that can be changed.

Once you determine which flags you care about, find the definition of
the flag (typically c-common.c) and change its initial value.

Or just write a tiny shell script to run gcc with your preferred
option.

Ian



More information about the Gcc-help mailing list