I installed color-gcc on my kubuntu system and tried to set this "export CC="colorgcc" on my .bashrc file.
This did not work and i created soft links for colorgcc in the following way:

c++ -> colorgcc
cc -> colorgcc
g++ -> colorgcc
gcc -> colorgcc

My PATH is "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" and i created these soft links inside "/usr/local/sbin" directory which was empty initially. What am i doing wrong? This still does not work!!

Thanks.

surhudm

May 6th, 2007, 04:47 PM

Can you directly try to use colorgcc and see that it works? One can deal with aliases later...

Cheers.

casperl82

May 6th, 2007, 04:59 PM

Yes, colorgcc works when i run it directly.

casperl82

May 7th, 2007, 02:49 PM

Any suggestions?

ssam

May 7th, 2007, 05:16 PM

what program is calling gcc?

if you are using make, does the makefile call /usr/bin/gcc explicitly?