Linking with .dylibs on OSX?

evilrat evilrat666 at gmail.com
Fri Jul 19 11:29:10 PDT 2013


On Friday, 19 July 2013 at 18:19:20 UTC, Jeremy DeHaan wrote:
> I was just curious if DMD supported linking with .dylib files 
> on OSX.
>
> Would one simply do something like this?
>
> "dmd main.d somelib.dylib"
>
> Thanks!

i don't remember exactly, but if this not work for you try 
something like this
dmd main.d -L-L/path/to/lib.dylib
i think there was a topic on this on wiki


More information about the Digitalmars-d-learn mailing list