Page 1 of 1

verbose drivin me nuts

Posted: Tue Feb 24, 2009 1:00 pm
by overburn
how do i disable gcc's verbose? i've searched the net but to no end. it just drives me mad.. instead of spending cpu cycles on outputting information i don't need , i want it to just output errors and warnings...

Re: verbose drivin me nuts

Posted: Tue Feb 24, 2009 1:57 pm
by yemista
what kind of output are you trying to ignore? The only output I get from gcc is warning and errors.

Re: verbose drivin me nuts

Posted: Tue Feb 24, 2009 2:01 pm
by AJ
Hi,

If you are using a makefile, start each call to GCC with '@', which will suppress echoing each command.

Cheers,
Adam

Re: verbose drivin me nuts

Posted: Tue Feb 24, 2009 2:09 pm
by JamesM
overburn wrote:how do i disable gcc's verbose? i've searched the net but to no end. it just drives me mad.. instead of spending cpu cycles on outputting information i don't need , i want it to just output errors and warnings...
If it's outputting anything, it should be attended, not >/dev/null 'd. There should be no reason to supress that output.

Re: verbose drivin me nuts

Posted: Tue Feb 24, 2009 2:25 pm
by overburn
i meant echo only errors and warnings , and output the rest in the log file, not suppress everything
thanks aj :)

Re: verbose drivin me nuts

Posted: Tue Feb 24, 2009 11:51 pm
by Solar
If you don't want to touch the Makefile itself for some reason, 'make -s' does the same.