Daniel Iliev <[EMAIL PROTECTED]> skribis: > [EMAIL PROTECTED] wrote: > > > I guess the best question might be ‘Why do you want -fpic?’ > > > > > I use prelink [1] which requires PIC in order to work. At least that is > true for X86. That is the only reason - I suppose if it works on x86_64 > it would have the same requirements.
Alright. Another reason would be to use PaX for security. I’ve used PaX and what I did for that, to get PIC code, was to use the ‘hardened’ 3.x compiler. The ‘hardened no SSP’ setting would be the one for prelink, I think. When I really want a program to start quickly, though, I use the sticky bit, so the program stays in memory. I think this is the default for GNU Emacs. -- Barry.SCHWARTZ at chemoelectric.org http://chemoelectric.org Free stuff / Senpagaj varoj: http://crudfactory.com (PDF) 'Democracies don't war; democracies are peaceful countries.' - Bush (http://www.whitehouse.gov/news/releases/2005/12/20051219-2.html)
pgpSBsXLXvdTz.pgp
Description: PGP signature