Thread overview
How to pass the subsystem flag to the linker?
Nov 24, 2013
Mikko Ronkainen
Nov 24, 2013
Mikko Ronkainen
Nov 25, 2013
Kai Nacke
November 24, 2013
I'm using ldc2 on windows with mingw-w64. I want to set subsystem to windows, so I need to supply ld with the flag "--subsystem windows" (am I correct?). I want to pass this flag from the ldc2 command, so I need to use "-L=--subsystem windows". This doesn't work, the compiler instead tries to find windows.d file for compiling. Using single or double quotes didn't help either.

How should I input the subsystem linker flag?
November 24, 2013
One second after posting I tried replacing the space between the words with "=" and it worked :)
November 25, 2013
Hi Mikko!

On Sunday, 24 November 2013 at 20:33:37 UTC, Mikko Ronkainen wrote:
> One second after posting I tried replacing the space between the words with "=" and it worked :)

:-)

Regards,
Kai