LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cc command is blocking (https://www.linuxquestions.org/questions/linux-newbie-8/cc-command-is-blocking-655840/)

hnshashi 07-15-2008 04:35 AM

cc command is blocking
 
Hi all,

I am using Fedora 7,
due to some setting cc and make commands are blocking.

If i compile simple program
Ex:

$cc hello.c
(blocking....)
$

and also make also not working.

plz help me.


Thanks
shashidhara

jf.argentino 07-15-2008 06:23 AM

Is gcc properly installed with yum? What do you see when running "gcc --version"?

hnshashi 07-15-2008 06:39 AM

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


All times are GMT -5. The time now is 11:11 AM.