poita.org

Linking Frameworks With DMD

Posted: 2012-06-01 - Link

Little tip for OS X D Programming Language users: if you want to link with frameworks, the correct flags for dmd are:

dmd -L-framework -LCoreFoundation test.d

This goes in general for any linker flags with arguments, because dmd uses -Xlinker to pass the arguments to ld.