Striving for greatness

Thoughts on emerging tech, open source, and life

[Gentoo] Tip: Finding and fixing warnings made easy in Portage

Losing warnings in all that compiler output? Try this quick tip out!

Open up /usr/lib/portage/bin/emake and change this line:

exec ${MAKE:-make} ${MAKEOPTS} ${EXTRA_EMAKE} "$@"

to this:

exec ${MAKE:-make} ${MAKEOPTS} ${EXTRA_EMAKE} "$@" > /dev/null

This hides all the useless output you don’t care about that goes to standard output. You only care about what goes to standard error, so only warnings, errors and similar show up. It also has the side effect of reducing the CPU used to print tons of output on the screen.


Written by Donnie Berkholz

August 30, 2006 at 11:52 pm

Posted in Uncategorized

%d bloggers like this: