cc command is blocking
ya, gcc installed.
I executed "yum install gcc", its showing following o/p
[root@localhost ~]# yum install gcc
fedora 100% |=========================| 2.1 kB 00:00
updates 100% |=========================| 2.3 kB 00:00
Setting up Install Process
Parsing package install arguments
Package gcc - 4.1.2-27.fc7.i386 is already installed.
Nothing to do
[root@localhost ~]#
for "gcc --version" o/p is
[root@localhost ~]# gcc --version
gcc (GCC) 4.1.2 20070925 (Red Hat 4.1.2-27)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@localhost ~]#
To compile i have to give complete path of cc command
$/usr/bin/cc hello.c (Now it is working).
even PATH env. also has set properly...
Thanks
Shashidhara HN
|