LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Color gcc on RedHat

[ILUG] Color gcc on RedHat

root nezwan at hotmail.com
Sun Apr 30 18:12:13 IST 2000


Hi,

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
    bunzip2 colorgcc-mdkconf.patch.bz2
    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

DONE!

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!


Nezwan Esa






More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell