On 12/22/10 12:13 PM, spir wrote:
Hello,

Is it possible use rdmd (to automagically link against imported D modules), 
when also calling C funcs? I tried to add the C file at the end of the building 
command, like eg (removed all dmd options):
        rdmd --build-only -ofmyProg myProg.d myCFuncs.o
but rdmd does not seem to transmit additional files to link against to dmd. (In 
addition to the ones guessed from imports.)

[Also, we would be glad to get some feedback when rdmd fails: currently it ends silently. (At the 
very minimum: "Failed to compile/link." At best, some more accurate messages such as 
"Cannot find imported module 'foo.d'.")]

Denis
-- -- -- -- -- -- --
vit esse estrany ☣

spir.wikidot.com


Looks like a good enhancement for rdmd. That it doesn't "fail successfully" is a bug.

Andrei

Reply via email to