GCC Output color formatter
Posted: Tue Oct 27, 2015 8:27 pm
The old version of GCC used with SGDK drives me insane because 1) SGDK spits out a lot of warnings unless you squash them with type casting on resources, and 2) there is no colorization to let you find the one error admist twenty warnings.
I put together a tiny python script towards which you can pipe GCC's error output:

https://github.com/Mikejmoffitt/gccerrc/
Install python3 if your distro hasn't already got it, and configure your makefile in a way that is similar to the usage example shown (on the line with $(CC), add 2>&1 | python3 gccerrc.py)
I put together a tiny python script towards which you can pipe GCC's error output:

https://github.com/Mikejmoffitt/gccerrc/
Install python3 if your distro hasn't already got it, and configure your makefile in a way that is similar to the usage example shown (on the line with $(CC), add 2>&1 | python3 gccerrc.py)