Just a thought. Can dmd demangle the symbols before spitting the output of ld to stderr?
dmd doesn't print the output of ld to stderr, ld does.
I believe binutils has some support for D symbol demangling thanks to the GDC folks. I tried it once: http://forum.dlang.org/post/[email protected]
So I think you need to find a way to pass --demangle=dlang to ld. Maybe `dmd program.d -L--demangle=dlang`?
Mike
