-L/SUBSYSTEM:windows Error when using -m64
Marcone
marcone at email.com
Tue Aug 10 18:34:03 UTC 2021
How use -L/SUBSYSTEM:windows for hide console in x64 prograns?
Becouse if I use -L/SUBSYSTEM:windows and -m64 I get this error:
lld-link: error: undefined symbol: WinMain
>>> referenced by msvcrt120.lib(msvcrt_stub2.obj):($LN5)
Error: linker exited with status 1
If I delete -L/SUBSYSTEM:windows compile fine.
How can I hide console using -m64?
More information about the Digitalmars-d-learn
mailing list