On Tuesday, 5 March 2019 at 05:03:42 UTC, Mike Parker wrote:
This has nothing to do with dub, so that’s the wrong place for
it. The dmd for windows docs needs to make clear the
distinction between the linkers and the differences in
behavior, and point to the linked docs for options. I just
c
On Tuesday, 5 March 2019 at 07:25:40 UTC, Mike Parker wrote:
documentation. Instead, it belongs in the DMD windows
documentation. It's currently missing:
https://dlang.org/dmd-windows.html#linking
The 32-bit COFF support is missing there I mean. It does
specifically mention that there are d
On Tuesday, 5 March 2019 at 07:10:51 UTC, Robert M. Münch wrote:
t.
My missing point was, that I didn't expect to work with two
different links. And I totally agree, DUB needs to mention
this. Make everyones live easy. I don't want to dig through
fragmented information, collect and sort all p
On 2019-03-05 05:03:42 +, Mike Parker said:
On Tuesday, 5 March 2019 at 04:32:57 UTC, evilrat wrote:
On Tuesday, 5 March 2019 at 03:48:22 UTC, Mike Parker wrote:
I stopped using WinMain with D a long time ago. It's not necessary. If
you always use `main`, then both linkers will provide you
On Tuesday, 5 March 2019 at 04:32:57 UTC, evilrat wrote:
On Tuesday, 5 March 2019 at 03:48:22 UTC, Mike Parker wrote:
I stopped using WinMain with D a long time ago. It's not
necessary. If you always use `main`, then both linkers will
provide you with a console subsystem app by default. That's
On Tuesday, 5 March 2019 at 03:48:22 UTC, Mike Parker wrote:
I stopped using WinMain with D a long time ago. It's not
necessary. If you always use `main`, then both linkers will
provide you with a console subsystem app by default. That's
particularly useful during development. You can add a
co
On Monday, 4 March 2019 at 18:34:09 UTC, Robert M. Münch wrote:
Hi, when compiling a minimal Windows GUI app (using WinMain())
and compiling it with DUB, the 32-bit x86 version is a
character subsystem EXE (writeln works) and for x86_64 it's a
GUI subsystem EXE (writeln doesn't work). Since com
On Tuesday, 5 March 2019 at 02:13:30 UTC, evilrat wrote:
This should do for MS linker
"lflags-windows-x86_64": ["/SUBSYSTEM:CONSOLE"],
"lflags-windows-x86_mscoff": ["/SUBSYSTEM:WINDOWS"]
For old optlink x86 it is a bit harder, you need to include
special .def file that has instruction
On Monday, 4 March 2019 at 18:34:09 UTC, Robert M. Münch wrote:
Hi, when compiling a minimal Windows GUI app (using WinMain())
and compiling it with DUB, the 32-bit x86 version is a
character subsystem EXE (writeln works) and for x86_64 it's a
GUI subsystem EXE (writeln doesn't work). Since com