On Wed, 25 Mar 2015 16:21:04 GMT, Andre wrote:

Hi,

I configured dmd to use coff. Building an simple hello world is
possible with dmd app -m32mscoff.
The application is running fine.

But I get it not working with dub. I set the compiler flag
"dflags": ["-m32mscoff"]

I get following error:
OPTLINK (R) for Win32 Release 8.00.17
Copyright (C) Digital Mars 1989-2013 All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
.dub\build\application-debug-windows-x86-dmd_2067-21B7C91B9C04C627E94DE56A6587E4
EF\helloworld.obj Offset 00000H Record Type 004C

Kind regards
André

Supposedly fixed now by e2af570. The -m32mscoff flag was not automatically passed to the linker stage. A workaround would be to use the --combined flag.