On 02/17/2017 07:41 PM, berni wrote:
The command that works is

dmd a.d b.o

where b.o is a precompiled c file, similar to
https://github.com/dlang/druntime/blob/master/src/core/stdc/errno.c

When using rdmd it doesn't work anymore. When I make rdmd --chatty, I
can find the reason: b.o is ommited in the call of dmd. How can I make
rdmd pass this parameter to dmd too?

You have to pass the .o file before the .d file. rdmd interprets everything that comes after the .d file as arguments to the generated program.

Reply via email to