[Gloucs] make gcc switch

Guy Edwards gloucs at mailman.lug.org.uk
Sun Nov 24 14:32:01 2002


Hello,

If I'm compiling a program using
	./configure
	make
	make install
whats the best way to put gcc into pedantic code checking mode?

I know GCC can be set to ANSI standards mode with verbose reporting
using:
	gcc -pedantic -ansi, -std=c89 filename

But how do I apply that to a larger project that uses ./configure and
make?

Also would anyone on Tuesday be able to run through simple tools for
checking your code with and a rough overview of how they work (eg
electricfence checks for memory problems I believe?)

Thanks in advance
Guy