You are not logged in.
I have started using ccache with gcc 5.1 (vanilla package in Arch).
gcc by itself generates color output by default now.
However, when I do a 'ccache gcc' instead of 'gcc', I no longer get color output.
The wiki mentions how to get color output while using the colorgcc wrapper,
but has no information on what to do with regular GCC, which now outputs color messages.
Any ideas, apart from installing colorgcc?
Last edited by gajjanag (2015-08-21 21:42:52)
"Behind every theorem lies an inequality" - A N Kolmogorov
Offline
I don't have a machine in front of me to test, but what if you pass '-fdiagnostics-color' explicitly? The equivalent is used to fix color output for clang + ccache
Offline
That works, thanks.
I wish this could be handled correctly without this hack.
After all, why can't gcc convey its default options to ccache?
"Behind every theorem lies an inequality" - A N Kolmogorov
Offline