简体   繁体   中英

c compiler commands for generating a winexe

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM