Re: GCC Initialization File?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20 December 2010 21:18, Marc Glisse wrote:
> 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

And 'gcc -dumpspecs' will print the default spec file that's built in
to the compiler, so you can use that as a starting point to modify.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux