colorgcc/colorgcc — pull request #15 by jasuarez (2014-07-29 15:30:34+00:00)
Title: Define path compilers through env variables

I have a $HOME in NFS that I share among different computers, with different compilers/paths. So setting the compiler in the colorgccrc file is not an option, because the paths can change from system to system.

And sometimes I need to use a very specific compiler in just a specific moment, so changing the colorgccrc is a bit of nuisance.

Thus I'm following the same approach as ccache do to define different compilers, and adding an option to allow to define the compiler to use through environmental variables. Thus, if some of them are defined it will overwrite the compiler defined in the colorgccrc file.

The variables allowed are:

COLORGCC_GCC=
COLORGCC_GCXX=
COLORGCC_CC=
COLORGCC_CXX=