Re: problem with runningsimple C program

2003-06-25 Thread Milos Puzovic
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

problem with runningsimple C program

2003-06-25 Thread 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 I tried to run it, but I got "Segmentation fault (core dumped)" message. The version of gcc is 3.2 2