I tried it and it worked fine for me.
"Milos Puzovic" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I was trying to run the following simple C code:
>
> void func();
>
> main() {
>func();
>}
>
> void func() { printf("Hello world from func()!"); }
>
> First, I compiled it wi
Max Bowsher wrote:
Works for me. Have you oversimplified this example?
Strange! I have just reinstalled whole cygwin, compiled the code and it
was working. Still don't know what was the problem.
Milos.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: ht
Milos Puzovic wrote:
> I was trying to run the following simple C code:
>
> void func();
>
> main() {
>func();
>}
>
> void func() { printf("Hello world from func()!"); }
>
> First, I compiled it with gcc program.c -o program. Then I tried to run
> it, but I got "Segmentation fault (core
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Milos Puzovic
>
>
> I was trying to run the following simple C code:
>
> void func();
>
> main() {
>func();
>}
>
> void func() { printf("Hello world from func()!"); }
>
> First, I compiled it with gcc program.c -o program. Then
4 matches
Mail list logo