comparisons..

Michael Meissner meissner@cygnus.com
Thu Jul 13 11:18:00 GMT 2000


On Thu, Jul 13, 2000 at 01:10:13PM -0400, Phil Edwards wrote:
> 
> Bruce Korb <bkorb@sco.COM>:
> > How hard would it be (wondering aloud and not having done 
> > any research at all)....
> >
> > to set up an rc-type file at either gcc build time or
> > gcc run time (or both?) that contained a list of "my" warnings
> > and allowed someone to merely specify -Wmine on the command
> > line.  Just wondering....*not* volunteering :-)
> 
> I and some of my coworkers have occasionally created ancilliary 4- and
> 5-line specs files, and use those to augment the defaults.  Usually we
> use them to turn on /boatloads/ of extra warnings, but occasionally we
> need some weird -f/-m flags turned on (and we can't modify the makefiles
> for other reasons).
> 
> Then it's just "gcc -specs=.../philspecs" or "gcc -specs=.../bobspecs"
> or, etc.

Or the simple shell script "gcc" that adds the appropriate switches, and then
execs the real gcc, and put that in your path before the real gcc.

-- 
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work:	  meissner@redhat.com		phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org	fax:   +1 978-692-4482


More information about the Gcc mailing list