linking C library with D, creating a OpenVG D port

ddos via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Apr 3 05:00:35 PDT 2015


progress ... i think
in some forum posts i've read 64bit dmd uses a differnt linker 
which supports coff
atleast i can now link my app in 64bit mode without errors
dmd -m64 source/app.d OpenVG.lib

also an exported test function prints to stdout, so my problem is 
solved for x64 :)

if anyone could explain how this could be done with 32bit builds 
i'd appreciate it
why does dmd use different linkers for 32 and 64bit anyway?


More information about the Digitalmars-d-learn mailing list