Peter Alexander

Posted: • 1 min read

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.

comments powered by Disqus