I'm trying to give my build-process output some intelligibility by adding color to the output. With the underlying compiler being gcc, I thought all I would have to do is add some flags
Code: Select all
CFLAGS += -fdiagnostics-color=always
CXXFLAGS += -fdiagnostics-color=always
CPPFLAGS += -fdiagnostics-color=always
To be sure I set the GCC_COLORS environment variable ( both in my environment (with export) and in the Makefile.
Code: Select all
GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
I even tried adding directly to the compiler variable
Am I missing a glaring step?