Environment variables/cc missing
Sean 'Shaleh' Perry
shalehperry@comcast.net
Fri, 4 Jul 2003 15:12:46 -0700
On Friday 04 July 2003 14:54, Stephen Schroder wrote:
> In order to install my soundcard driver, cc, gcc, and
> cl need to be found when I execute ./configure. When
> ./configure fails to run, the report is that none of
> the three can be found. Special emphasis, for some
> reason, is given on the fact that cc can not be found
> in $PATH. While cc can't be found anywhere on my hard
> drive, both gcc and cl do exist.
>
> Why doesn't cc exist, and where can I get it? Where
> are the system environment variables located, so I can
> make gcc and cl findable by adding their directories
> to the $PATH statement?
>
On my system I see this:
$ which cc
/usr/bin/cc
$ ls -al /usr/bin/cc
lrwxrwxrwx 1 root root 20 Sep 6 1999 11:08 /usr/bin/cc ->
/etc/alternatives/cc
$ ls -al /etc/alternatives/cc
lrwxrwxrwx 1 root root 12 Jun 22 2003 06:06
/etc/alternatives/cc -> /usr/bin/gcc
You should see something similar. Then, look at your $PATH (echo $PATH).
Perhaps you are having a problem with PATH not being properly/fully
configured.