LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   compile .c (https://www.linuxquestions.org/questions/linux-newbie-8/compile-c-377599/)

p4inkill4 10-27-2005 10:02 PM

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 ?

Tinkster 10-27-2005 10:29 PM

man gcc
will tell you all about compiling c source.


Cheers,
Tink

p4inkill4 10-27-2005 11:14 PM

Can u give an exmple of ow to compile ?

Tinkster 10-27-2005 11:44 PM

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


Cheers,
Tink

p4inkill4 10-28-2005 03:26 PM

ThankYou


All times are GMT -5. The time now is 07:11 PM.