Hello,
I installed MinGw on windows computer, and tried to test it with a "hello" code.
Compiler don't complain. But it also does not create any execute able file.
Here is the code and out put.
Code:
#include<stdio.h>
main(){
printf("hello \n");
}
Out put:
Code:
PS C:\Users\\Desktop\test> gcc hello.c -o hello
PS C:\Users\\Desktop\test>
PS C:\Users\Desktop\test>
PS C:\Users\\Desktop\test> dir
Directory: C:\Users\\Desktop\test
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 10/10/2013 2:45 PM 62 hello.c
PS C:\Users\\Desktop\test>