Dynamic loading of shared libraries.

Robert Clipsham robert at octarineparrot.com
Mon Jun 13 07:19:51 PDT 2011


On 13/06/2011 14:32, Andrei Alexandrescu wrote:
> Two questions - first, what steps do we need to take to convince the
> linker call from within dmd to work as above?
>
> Second, how about the converse - loading a shared library from a program
> written in either C or D?

I was under the impression that dmd couldn't produce shared libraries in 
its current state - doesn't its output clobber the PIC register or 
something when compiling with -fPIC?

http://d.puremagic.com/issues/show_bug.cgi?id=4583

> Thanks,
>
> Andrei


-- 
Robert
http://octarineparrot.com/


More information about the Digitalmars-d mailing list