colorgcc – Color your compiler output on Fedora

2012-07-11 2 min read C Programs Fedora

Lets start with installing colorgcc :

sudo yum install colorgcc

Now once that is done, you will need to ensure that the call to g++, gcc and others that you want to use, you will need to create a link in the “~/bin” directory, like so:

for i in g++ gcc c++ cc 
do
    ln -s $(which colorgcc) ~/bin/$i
done

The one liner above will create the links for colorgcc as **** your favourite compiler in your homedir. Don’t forget to add the bin diretory to your PATH variable:

Continue reading