I don't the color gcc web site or ftp site. But here is the trick,
download egcs Linux Mandrake source rpm package from Linux Mandrake ftp
site. Install the package. Go to /usr/src/redhat/SOURCE/,
1. bunzip2 --keep -c ANSIColor-%VERSION.tar.bz2 | tar -xv
cd ANSIColor, perl Makefile.pl, make test, make install
2. bunzip2 --keep -c colorgcc-%VERSION.tar.bz2 | tar -xv
patch -p0 < colorgcc-mdkconf.patch
edit colorgcc, changes pgcc to gcc, changes pg++ to g++
mv colorgcc to /sbin
ln -sf /sbin/colorgcc /sbin/gcc
ln -sf /sbin/colorgcc /sbin/g++
ln -sf /sbin/colorgcc /sbin/cc
ln -sf /sbin/colorgcc /sbin/c++
mv colorgccrc to /etc
If it is not working, do echo $PATH. Check which directory come first in
the order. Since gcc/g++/cc/c++ in the /usr/bin and /bin in my system
come later in the path order, I put the colorgcc in the /sbin directory.
I prefer RedHat than Mandrake. RedHat more stable and bug fixed!
That's all. Have fun!
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!