Linking to Dynamic Library on Mac OS X

TJB via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 15 12:39:52 PDT 2015


> Off the top of my head: does adding -L-L$(pwd) help?

This is what I get:

$ dmd main.d -L-L$(pwd) -lhello
Error: unrecognized switch '-lhello'

Sorry if this is completely elementary and I am being quite dumb.

Thanks,
TJB


More information about the Digitalmars-d-learn mailing list