[glug-t] Re: Fw: Re: running a c program in linux
- From: "Vijay Kumar B." <ec10052@xxxxxxxxxxxxx>
- To: glug_t@xxxxxxxxxxxxx
- Date: Fri, 27 Jun 2003 11:31:49 GMT
> From: kannan chins <kannan_chins@xxxxxxxxx>
> > I am very sorry .on that sunday I have work here so
> > iam not able to come. I need a help from u.
> > I have one system booting on windows and linux.
> > I want to do linux based c programming. But in linux
> > cc command is not working. Any other command is there
Check whether you have installed gcc. Type in the following command
rpm -qa | grep gcc
if gcc is installed you will get an output like
gcc-<version>
Else you will have to install gcc. Put in the appropriate Redhat CD
move to the appropriate directory and type in
rpm -ivh gcc-<version>.rpm
> > to compile c Program in linux?.please tell me. Or come
> > to our center and help me running a c program in
After you are done you will be able compile a C program using the following
command
gcc <filename>.c -o <outfilename>
Use the following command to execute the program
/<outfilename>
The above description is a bit oversimplified!
For further details on GNU/Linux Programming check out the free book Advanced
Linux Programming. (Its available on the internet
http://www.advancedlinuxprogramming.com.) The book was written by a bunch of
GCC hackers, and teaches many basics of GNU/Linux Programming.
- Vijay
Non-free* software sucks. - RMS
* 'free' as in freedom.
---------------------------------------------
This message was sent from RECTMAIL.
http://www.rect.edu/ or http://rangoli.rect.ernet.in/
---------------------------------------------------------------
To unsubscribe send a mail to glug_t-request@xxxxxxxxxxxxx with
'unsubscribe' as subject.
Website: http://glugt.linuxisle.com
Other related posts: