State of interfacing with c++

Johan Engelen via Digitalmars-d digitalmars-d at puremagic.com
Sat Mar 19 01:10:41 PDT 2016


On Friday, 18 March 2016 at 20:47:41 UTC, Walter Bright wrote:
> On 3/18/2016 6:59 AM, Johan Engelen wrote:
>> It'd be nice to be able to call `dmd -ldflags` whose output 
>> would be the
>> standard linker flags.
>
>   dmd -v file.d
>
> will tell you what command is sent to the linker.

That linker command does not include the path to phobos.
You would have to parse the output, etc...


More information about the Digitalmars-d mailing list