On 2010-08-05 19:42, Walter Bright wrote:
Jacob Carlborg wrote:
For shared library support on Linux I think
http://d.puremagic.com/issues/show_bug.cgi?id=4583 is a blocker. For
Mac OS X a patch is already available (of which the dmd part has
already been applied)
http://d.puremagic.com/issues/show_bug.cgi?id=4080 . BTW compiling
Tango as a dynamic library on Mac OS X has been possible the last
couple of months.

One thing about OS X is that all object files are sharable, so if your
code even works on the Mac it will be possible to put it in a shared
library. Things are much more complex on Linux.

I was not saying it's going to be easy to make shared libraries work on Linux. I've tried to make shared libraries working on Linux starting with the same approach I used when making them work on Mac OS X. Issue 4583 is how far I got, then I couldn't get further. I'm just pointing out that fixing issue 4583 is where one could start to make shared libraries work on Linux.

--
/Jacob Carlborg

Reply via email to