-fPIC and 32-bit dmd.conf settings

Stefan Koch via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Apr 9 02:33:30 PDT 2017


On Sunday, 9 April 2017 at 09:23:07 UTC, Joseph Rushton Wakeling 
wrote:
>
> Thanks for the explanation.  TBH I find myself wondering 
> whether `-fPIC` should be in the flags defined in dmd.conf _at 
> all_ (even for 64-bit environments); surely that should be on 
> request of individual project builds ... ?

It's needed in order to compile working executables on debain & 
ubuntu.

b/c of PIE.


More information about the Digitalmars-d-learn mailing list