[fpc-devel] -Cg and x86_64-linux
florian at freepascal.org
Sat Jan 6 23:11:46 CET 2007
Daniël Mantione schrieb:
> Op Sat, 6 Jan 2007, schreef Florian Klaempfl:
>> As of revision 5831, I've enabled -Cg for x86_64-linux building. This means
>> all code is built with PIC so you can build libraries without recompiling the
>> fpc rtl etc. However, this might have some downsides: first, pic'ed code is
>> slightly slower, second, pic support still might contain bugs so please share
>> your findings and opinions.
> How difficult do you think it is to use RIP relative addresses to access
How should this look like?
> global variables? That way there should be no speed difference, allowing
> us to remove the -Cg switch on x64-64.
More information about the fpc-devel