[fpc-devel] -Cg and x86_64-linux
Daniël Mantione
daniel.mantione at freepascal.org
Sat Jan 6 22:40:24 CET 2007
Op Sat, 6 Jan 2007, schreef Florian Klaempfl:
> As of revision 5831, I've enabled -Cg for x86_64-linux building. This mea=
ns
> 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 s=
hare
> your findings and opinions.
How difficult do you think it is to use RIP relative addresses to access =
global variables? That way there should be no speed difference, allowing =
us to remove the -Cg switch on x64-64.
Dani=EBl
More information about the fpc-devel
mailing list