> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Tomasz Rojek
--8<--
> simplest syntax how to
> compile a C program using gcc on Cygwin. In shorter way - below
> syntax creates desired
> binary (at least for me :)
>
> gcc 02l01.c -o 02l01.exe
>
> so you have to specify output binary file and that's all ;-)
> Greetings
$ cat hw.c
#include <stdio.h>
int main() {
printf("Hello, World.\n");
return 0;
}
$ gcc hw.c
$ ls
a.exe* hw.c
$ ./a
Hello, World.
$
/Hannu E K Nevalainen, 59~14'N, 17~12'E
~ <=> degree
--
--END OF MESSAGE--
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/