how do i instruct the C compiler (gcc &| cc) to make a "Windows executable" in command line? just like csc /t:winexe filename.cs in c#?
my goal is to create a GUI(winapi) based app without the console.
how do i instruct the C compiler (gcc &| cc) to make a "Windows executable" in command line? just like csc /t:winexe filename.cs in c#?
my goal is to create a GUI(winapi) based app without the console.
Are you using MinGW like package and do the build on windows platform? If not I'm afraid you can build PE image from Linux like environment directly, except you are using WINE.