On Mon, 20 Dec 2010, Jeffrey Walton wrote:
Does GCC have an initialization file that can be used to force all
users into particular settings?
I'm interested in always using -Wall -Wextra as compile options, and I
don't want others removing the options. So a make file is out of the
question. I hope GCC will have something similar to an INI file (in
/usr/share?), but search results have been heavily polluted with
"function initialization" results.
http://gcc.gnu.org/onlinedocs/gcc/Spec-Files.html
Or rename gcc to gcc.real and write a shell script gcc that calls gcc.real
with whatever arguments you want.
--
Marc Glisse