Link to a binary file => Error! [solved]

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
codepilot
Level 1
Level 1
Posts: 20
Joined: Wed Sep 17, 2008 3:57 am
Location: Dortmund, Germany
Contact:

Link to a binary file => Error! [solved]

Postby codepilot » Thu Dec 04, 2008 7:55 pm

Hello,

I'm having problems to replace the link of my cc to colorgcc.

When I do

Code: Select all

sudo ln -s /usr/bin/colorgcc cc
and then try to run cc using

Code: Select all

cc
the system answers

Code: Select all

colorgcc: Error; cc is a symlink to colorgcc. Aborting.

What is wrong with my link, where is my mistake?
A hard link doesn't work as well.

~cp
Last edited by codepilot on Sat Dec 06, 2008 6:40 pm, edited 1 time in total.
Image

codepilot
Level 1
Level 1
Posts: 20
Joined: Wed Sep 17, 2008 3:57 am
Location: Dortmund, Germany
Contact:

Re: Link to a binary file => Error!

Postby codepilot » Sat Dec 06, 2008 6:40 pm

yikes - my fault, again.
The colorgcc script itself produces this message when executed via a link to g++, gcc, cc, and some more ;(...
Image


Return to “Newbie Questions”

Who is online

Users browsing this forum: No registered users and 8 guests