Azitech

Azimout's Linux weblog

colorgcc

leave a comment »

Even when building small packages, it’s easy to miss the useful warnings/errors in the whole river of output of ‘make’. A simple tool that helps improve the situation is colorgcc, a perl script written by Jamie Moyers that is so well-written that it hasn’t been updated in 10 years!!!

Just sudo aptitude install colorgcc, then create symbolic links like this:

sudo ln -s /usr/bin/colorgcc /usr/local/bin/gcc
sudo ln -s /usr/bin/colorgcc /usr/local/bin/g++
sudo ln -s /usr/bin/colorgcc /usr/local/bin/cc
sudo ln -s /usr/bin/colorgcc /usr/local/bin/c++

Finally, do sudo ldconfig after making sure that /usr/local/bin is included in your path.

Advertisements

Written by azimout

09/12/2009 at 14:33

Posted in Tricks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: