Linux shared libraries - I'm confused

Steve Teale steve.teale at britseyeview.com
Thu Aug 16 04:31:59 PDT 2007


Steve Teale Wrote:

> I've seen it said that dmd does not support creation of Linux shared libraries, but I've also seen it said that you can use dmd -c to create a .o file, and then use gcc -shared ... to create an so. Can anyone clarify the position here please?
> 
Sorry, more specifically, if I try the GCC approach and then try to dynamically load the library, dlopen() reports  "/home/teales/d/libgenit.so.1.0.0: undefined symbol: _Dmodule_ref"




More information about the Digitalmars-d mailing list