[fpc-pascal] Mixing PIC non-PIC code/variables when linking a shared library

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Nov 17 16:13:40 CET 2014


Dmitry Boyarintsev wrote on ma, 17 nov 2014:

> So based on the bug report description: "There is no problem with other LCL
> components"
> I guess LCL itself was compiled with PIC flag as well (though, not
> mentioned in the report).

Yes, fpcmake automatically adds -Cg/-fPIC for x86-64 platforms,  
exactly because of this issue.


Jonas



More information about the fpc-pascal mailing list