strange -fPIC compilation error
Mike Parker via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Nov 1 00:15:19 PDT 2016
On Monday, 31 October 2016 at 19:20:21 UTC, Charles Hixson wrote:
> but
> dmd -defaultlib=libphobos2.so -fPIC test.d
> works. It shouldn't be required (as in the default
> /etc/dmd.conf should handle it correctly, but I can deal with
> it now.
The need to manually add this to dmd.conf is a very recent
development and only on specific systems. I expect at some point
they will either become the default or, better, the installer
scripts will have to detect if they are necessary.
More information about the Digitalmars-d-learn
mailing list