Do this:
- Download the colorgcc perl script
- Save it somewhere safe.
- Copy it to ~/home/username/bin (to start with) (cp colorgcc.1.3.2.txt ~/bin/)
In terminal do:
Code:
cd ~/bin
mv colorgcc.1.3.2.txt colorgcc
chmod 0755 colorgcc
Then move to directory where your C++ source code is and run
Code:
colorgcc [your normal compiler options]
To make sure everything works, break your code and you'll see pretty coloured error messages.
You can then use the sample config file to customise your message colours (download and save it in same place where the original Perl script, then use the cp command to copy it your your $HOME (cp colorgccrc.txt ~/.colorgccrc)
Note that the dot in front of the newly named colorgccrc makes it "hidden", you will see it with "ls -a" command.
Once you're happy, you can move ~/bin/colorgcc to /usr/bin/ to make it available to everyone.