From: Massimiliano C. <ci...@gm...> - 2005-02-10 15:09:24
|
I tried the following: #include <stdio.h> #include <Windows.h> int main(void) { while(1) { printf("abcd\n"); Sleep(1000); } return 0; } compiled with: gcc -mconsole -Wall test.c -o test if I execute test.exe from msys it seems that printf doesn't works. If I execute test.exe from a windows console it works fine. If I try to remove the Sleep(1000) line and recompile with the same command, the test.exe work also from msys. Is this a bug? Is it possible to make it works in msys too? thanks -- Massimiliano Cialdi ci...@gm... m.c...@ok... ci...@fi... |