Why is the fPIC switch missing?

Boris Carvajal boris2.9 at gmail.com
Mon Sep 23 08:19:35 UTC 2019


On Monday, 23 September 2019 at 01:31:03 UTC, Emmanuelle wrote:
> Hello. My problem is exactly what it says on the title: my dmd 
> (windows 7, x64) doesn't seem to have -fPIC:

I think it's not needed. The generated code on Windows is always 
position independent.

Still, DMD should warn about it and keep compiling like GCC, not 
fail miserably.


More information about the Digitalmars-d-learn mailing list