digitalmars.D.ldc - How to pass the subsystem flag to the linker?
- Mikko Ronkainen (7/7) Nov 24 2013 I'm using ldc2 on windows with mingw-w64. I want to set subsystem
- Mikko Ronkainen (2/2) Nov 24 2013 One second after posting I tried replacing the space between the
- Kai Nacke (6/8) Nov 25 2013 Hi Mikko!
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?
Nov 24 2013
One second after posting I tried replacing the space between the words with "=" and it worked :)
Nov 24 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
Nov 25 2013