Re: complaining about gcc compiler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: PGP signature

-- 
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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux