ColorGcc

Michael Mera edited this page Nov 20, 2015 · 2 revisions

How to use the colorgcc wrapper to colorize the output of compilers ?

To be able to use colorgcc with SCons you need an environment that includes $PATH, $TERM, and $HOME.

env = Environment(ENV = {'PATH' : os.environ['PATH'],
                         'TERM' : os.environ['TERM'],
                         'HOME' : os.environ['HOME']})
  • $PATH needs to include the path to where your symbolic links named gcc, g++, cxx, cc, all pointing to the colorgcc wrapper, are located.
  • $TERM is used by colorgcc to check if the terminal is smart enough to handle colors.
  • $HOME is used by colorgcc to find your .colorgccrc file including customizations.
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.