the correct way for a packet be found
is to add the path of the program at
the PATH environment variable of user
(.profile, .dtprofile) as
eg. PATH=$PATH:/usr/local/bin/cc
instead, if you want add a link make it by root
ln -s /usr/local/bin/cc /usr/bin
this will go for all users.
bye