开发者

What's the equivalent of gcc's -mwindows option for cl in windows?

cl : Command line warning D9002 : ignoring unknown option '-mwindows'

Seems -mwindows is only for gcc,开发者_C百科 does cl has a similar option?


That would probably the /subsystem option to the linker
Specifically /SUBSYSTEM:WINDOWS

It allows you to choose between compiling a console application and a windows application by setting a flag in the PE header

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜