LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-27-2005, 11:02 PM   #1
p4inkill4
LQ Newbie
 
Registered: Oct 2005
Posts: 9

Rep: Reputation: 0
compile .c


How to compile .c source files.

For example i downloaded mailer.c

It has inputs mailer -something something

how to make an executable out of it ?
 
Old 10-27-2005, 11:29 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
man gcc
will tell you all about compiling c source.


Cheers,
Tink
 
Old 10-28-2005, 12:14 AM   #3
p4inkill4
LQ Newbie
 
Registered: Oct 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Can u give an exmple of ow to compile ?
 
Old 10-28-2005, 12:44 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
gcc -o my_exe my_source.c
But really, that's in man gcc, too.


Cheers,
Tink
 
Old 10-28-2005, 04:26 PM   #5
p4inkill4
LQ Newbie
 
Registered: Oct 2005
Posts: 9

Original Poster
Rep: Reputation: 0
ThankYou
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ntop compile/post-compile problem? tjb Linux - Software 3 12-28-2004 05:22 PM
What does 'compile' mean? Iain1974 Linux - Newbie 15 08-25-2004 09:38 PM
c/c++ compile zdos Linux - Software 2 05-16-2004 04:22 PM
how to compile x for use on another pc??? markkreuzz Red Hat 1 03-03-2004 11:06 AM
compile jakublgz Programming 8 09-05-2002 06:30 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration