[dmd-internals] Building Phobos and druntime as a dylib on Mac OS X

Walter Bright walter at digitalmars.com
Mon Nov 21 11:12:55 PST 2011



On 11/21/2011 9:17 AM, Jacob Carlborg wrote:
>
>> One reason dmd doesn't support dynlib yet is because I haven't done much research into how dynlib actually works.
>
> Ok, I see. I though that you might know since you have developed a C++ compiler as well. I assume dynamic libraries can be used with DMC. Note that when I say "dylib" I mean the general term "dynamic library" and not the Mac OS X specific implementation.
>

DLLs on Windows work very differently from dynlibs on other systems. You have to 
approach each as its own animal.


More information about the dmd-internals mailing list