You can also use tiny c compiler to build native 64-bit samples under windows, I use it quite often. It' mostly gcc compatible:
https://bellard.org/tcc/
In fact I tried tiny c for test.c first,it worked but didn't close normally after the game window was closed.