PDA

View Full Version : GCC problem



jsimmons
August 15th, 2005, 01:09 PM
According to synaptic, I have gcc installed. However, when I go into a terminal and type "gcc -v", I get an error message (don't remember exact text, but I think its' something akin to the old dos error "bad command or file name".

What am I doing wrong?

thumper
August 15th, 2005, 02:30 PM
According to synaptic, I have gcc installed. However, when I go into a terminal and type "gcc -v", I get an error message (don't remember exact text, but I think its' something akin to the old dos error "bad command or file name".

What am I doing wrong?
I have recollections that when I installed gcc 3.4.x through synaptic it didn't have a symlink to gcc, but it did have something like /usr/bin/gcc-3.4 and I manually linked gcc to that (and g++).

Have a look in /usr/bin for gcc*

kwane
August 15th, 2005, 04:22 PM
According to synaptic, I have gcc installed. However, when I go into a terminal and type "gcc -v", I get an error message (don't remember exact text, but I think its' something akin to the old dos error "bad command or file name".

What am I doing wrong?
How I did it was to type

sudo aptitude install build-essential