The proper case for D.

Walter Bright newshound1 at digitalmars.com
Sat Jun 20 20:41:18 PDT 2009


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.



More information about the Digitalmars-d mailing list