no i havent installed it separately..........i thought that it was always present in the system On Fri, Sep 17, 2010 at 3:26 AM, Steve Blackwell <zephod@xxxxxxxxxx> wrote: > On Fri, 17 Sep 2010 02:09:51 +0530 > zico banerjee <soumabho1991@xxxxxxxxx> wrote: > >> hey guys i am new to fedora13 and after writing a program in c i cant >> compile it using "gcc <file_name>"comand.........it gives "comand not >> found" >> please help........... > > Can you give us the exact cmd line you are using? If you have a file > called junk.c, the usual way to compile it is: > > $ gcc -o bin_file_name junk.c > > Now if you are actually typing: > > $ gcc junk.c command param1 > Then you will get this: > gcc: command: No such file or directory > gcc: param: No such file or directory > > because gcc is expecting a list of c files to compile. Apologies if > this is too obvious. > > If gcc is the command not found, then you probably don't have it > installed as others have suggested. > > Type: > $ rpm -qa | grep gcc > and if you get no output, you don't have it. > > HTH > Steve > -- > Changing lives one card at a time > > http://www.send1cardnow.com > > -- > users mailing list > users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe or change subscription options: > https://admin.fedoraproject.org/mailman/listinfo/users > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines > > -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines