Why is the fPIC switch missing?
IGotD-
nise at nise.com
Mon Sep 23 08:46:25 UTC 2019
On Monday, 23 September 2019 at 08:19:35 UTC, Boris Carvajal
wrote:
> 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.
Is PIC really enabled by default for Windows 32-bit binaries.
More information about the Digitalmars-d-learn
mailing list