Thread overview | |||||
---|---|---|---|---|---|
|
November 24, 2013 How to pass the subsystem flag to the linker? | ||||
---|---|---|---|---|
| ||||
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 Re: How to pass the subsystem flag to the linker? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mikko Ronkainen | One second after posting I tried replacing the space between the words with "=" and it worked :) |
November 25, 2013 Re: How to pass the subsystem flag to the linker? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mikko Ronkainen | 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
|
Copyright © 1999-2021 by the D Language Foundation