Quote:
Originally posted by linuxmandrake
help! I just reinstalled gcc but it deleted the /usr/bin/gcc so now i dont have a link
debian:/home/sc# ls -s /usr/bin/gcc-3.3 /usr/bin/gcc
ls: /usr/bin/gcc: No such file or directory
92 /usr/bin/gcc-3.3
|
That is telling you that gcc 3.3 is not installed what does this show you?
Code:
ls -l /usr/bin/gcc*
lrwxrwxrwx 1 root root 7 2005-08-21 13:42 /usr/bin/gcc -> gcc-4.0
-rwxr-xr-x 1 root root 95416 2005-08-23 05:54 /usr/bin/gcc-3.4
-rwxr-xr-x 1 root root 102056 2005-09-24 12:19 /usr/bin/gcc-4.0
lrwxrwxrwx 1 root root 10 2005-08-21 13:42 /usr/bin/gccbug -> gccbug-4.0
-rwxr-xr-x 1 root root 16133 2005-08-23 05:51 /usr/bin/gccbug-3.4
-rwxr-xr-x 1 root root 16280 2005-09-24 12:10 /usr/bin/gccbug-4.0
To answer your question above yes it is just a symbolic link, you can either change the link or use the export command I suggested when compiling to make it use a different compiler.