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

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Nov 18 11:31:11 CET 2014


On Tue, 18 Nov 2014 11:03:03 +0100
Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:

>[...]
> Yes, but "x86-64" is apparently bit too broad:
> * it's added for x86-64/(freebsd, openbsd, netbsd, linux, solaris)
> * for Darwin, -Cg is always on by default on all platforms, but this  
> is done in the compiler itself (because it's also on by default in the  
> system compilers)

Thanks. I will add it to Lazarus.
Why does the compiler not always add -Cg on Linux/x86-64?

Mattias
 



More information about the fpc-pascal mailing list