Fedora Linux Support Community & Resources Center
  #1  
Old 22nd September 2012, 01:47 PM
pythonkr11 Offline
Registered User
 
Join Date: Sep 2012
Location: india
Posts: 8
linuxfirefox
C program in fedora

How to run c program in fedora 17 ????
Reply With Quote
  #2  
Old 22nd September 2012, 02:11 PM
weitjong Online
Registered User
 
Join Date: Oct 2006
Location: Singapore, 新加坡
Posts: 936
macossafari
Re: C program in fedora

The same way as in previous Fedora releases before 17 .

Compile the C source codes to object codes and link them into binary executable. Run the executables as you would just like others that you downloaded from software packages in a console or GUI. If you don't know how to run, that would really be a problem because you have to know that to run the compiler at the beginning of the cycle .
__________________
YaoWT - Leave no window unbroken ♪ (^。^) 
Reply With Quote
  #3  
Old 23rd September 2012, 02:30 AM
ocratato Offline
Registered User
 
Join Date: Oct 2010
Location: Canberra
Posts: 1,538
linuxfirefox
Re: C program in fedora

Quote:
Originally Posted by pythonkr11 View Post
How to run c program in fedora 17 ????
I suggest the you might like to read this
Reply With Quote
  #4  
Old 23rd September 2012, 04:41 PM
runmachine Offline
Registered User
 
Join Date: Jul 2012
Location: China
Posts: 10
linuxchrome
Re: C program in fedora

be sure of you have installed gcc
yum install gcc
assume you have an c source code,hello.c.
compile:
gcc -c ./hello.c
link:
gcc -o ./hello ./hello.o
or
compile and link:
gcc -o ./hello ./hello.c
Reply With Quote
  #5  
Old 4th October 2012, 05:29 PM
pythonkr11 Offline
Registered User
 
Join Date: Sep 2012
Location: india
Posts: 8
linuxfirefox
Re: C program in fedora

thankssss every one
Reply With Quote
Reply

Tags
fedora, program

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Exercise 1-11 , how to run the program to test the word count program? JoeNapoleon Programming & Packaging 2 17th November 2011 04:37 AM
Where to get the program rar for Fedora 10 AnimeFreak Using Fedora 5 12th February 2009 04:26 AM
System stability affected by program after program has been closed...? DennyCrane Using Fedora 0 29th June 2008 01:53 AM
Reading output from program, called inside another program clearer Programming & Packaging 2 20th February 2008 08:52 AM
how to use shell program parameters in java program?? srujanabobba Using Fedora 1 10th August 2006 07:24 PM


Current GMT-time: 15:26 (Tuesday, 22-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat