wiki:DevelopmentTools/ColorGCC

The colorgcc perl script colorizes GCC output. This makes it easier to spot warnings and errors in long compiler outputs.

To install colorgcc in Haiku, execute the following commands in a shell:

cd /boot/develop/abi/x86/gcc2/tools/current/bin
wget http://dev.haiku-os.org/raw-attachment/wiki/DevelopmentTools/ColorGCC/colorgcc2.pl
chmod +x colorgcc2.pl
mv gcc gcc_real
mv g++ g++_real
ln -s colorgcc2.pl gcc
ln -s colorgcc2.pl g++

cd /boot/develop/abi/x86/gcc4/tools/current/bin
wget http://dev.haiku-os.org/raw-attachment/wiki/DevelopmentTools/ColorGCC/colorgcc4.pl
chmod +x colorgcc4.pl
mv gcc gcc_real
mv g++ g++_real
ln -s colorgcc4.pl gcc
ln -s colorgcc4.pl g++

The official colorgcc page: http://schlueters.de/colorgcc.html

Last modified 13 years ago Last modified on May 20, 2011, 8:18:49 PM

Attachments (2)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.