Steve Teale wrote:
Most of us are using DMD, which on Windows uses a 20 year old linker, and utilizes an antique object file format.
Knowing the guts of object file formats, the MachO format (used on the Mac) is by far the worst of the three (OMF, MachO, ELF).
Under Linux, it can't produce the position-independent code that's required to create reliable shared libraries.
Use the -fPIC switch, which has been there for years.
