On 18 Nov 2014, at 00:09, Mattias Gaertner wrote:
On Mon, 17 Nov 2014 16:13:40 +0100
Jonas Maebe <jonas.ma...@elis.ugent.be> wrote:
Yes, fpcmake automatically adds -Cg/-fPIC for x86-64 platforms,
exactly because of this issue.
Does "automatically" means here "always on x86_64"?
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)
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal