Op 25 maart 2012 13:12 schreef Bennie Copeland <[email protected]>het volgende:
> For linking against C, I can create a DLL in windows, but I can't create > an .so in linux, and no information at all about OSX. >From what I've heard this was a certain bug ( http://d.puremagic.com/issues/show_bug.cgi?id=4583) that made it impossible to generate position independent code and thus no shared objects. This bug was fixed in dmd version 2.057 so it should work with dmd -c -fPIC and then use gcc on your platform to create the shared object. If you don't need/want to use dmd I think gdc is capable of doing it. Maarten
