开发者

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

开发者 https://www.devze.com 2022-12-29 09:24 出处:网络
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 lin
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

精彩评论

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

关注公众号