Attempting to do something very simple - compile basic win 32 c programs through windows cmd. This is something I should be able to do myself, but I am just so stuck here..
I keep stumbling into weird problems, vague errors. I dunno whether I should go into details. Using tcc ( tiny c compiler)
One simple hellowin.c example from a book required winmm.lib. How do I import it ? can someone give me the exact command for gcc/tcc /any command line compiler for windows(except cygwin) ? I did try various options after reading help , but it kept giving me a can't find stupid error.
a sample from platform sdk that I tried to compile gave a - winnt.h "( expected" error. this after a #define _M_IX86 . what it means ?
any general guide for compiling c programs for windows(win32 api) through command line ? . explaining what all should be #defined ..etc..
I have googled a lot but most of the c compiling guidelines for win32 programs focus on vb .I wanna do it manually , on the command line.
Thanks