dada


MinGW

MinGW stands for "Minimal GNU for Windows" and it provides (among other things) the GNU compiler. It can be used like this:

/* hello.c */

#include <stdio.h>

int main(int argc, char **argv)
{
	printf("Hello World!\n");
	return 0;
}
> dir
 Volume in drive C has no label.
 Volume Serial Number is XXXX-XXXX

 Directory of C:\Documents and Settings\ayekat\Desktop

31.03.2010  21:25    <DIR>          .
31.03.2010  21:25    <DIR>          ..
31.03.2020  21:25                68 hello.c
               1 File(s)             68 bytes
               2 Dir(s)   5'211'918'336 bytes free

> C:\MinGW\bin\gcc.exe hello.c

> dir
 Volume in drive C has no label.
 Volume Serial Number is XXXX-XXXX

 Directory of C:\Documents and Settings\ayekat\Desktop

31.03.2010  21:52    <DIR>          .
31.03.2010  21:52    <DIR>          ..
31.03.2010  21:52            17'451 a.exe
31.03.2020  21:25                68 hello.c
               2 File(s)         17'519 bytes
               2 Dir(s)   5'211'897'856 bytes free

> a.exe
Hello World!

Use gcc directly as a command

mingw_1
mingw_2
mingw_3
mingw_4