-fPIC and x86_64

Orion Poplawski orion at cora.nwra.com
Tue Aug 23 20:04:04 UTC 2005


Jakub Jelinek wrote:
> But in that case not just for x86_64, but for all architectures.
> If the library is small and is expected to be only linked into small shared
> libraries, -fpic can be used instead.
> What small means is architecture dependent, on i386/x86_64 -fpic/-fPIC are
> identical, on other arches it can mean e.g. 4K got entries limit or similar.
> 
> 	Jakub

But I don't know what shared libraries it will be link to, so shouldn't 
I use -fPIC to be safe?  Or are there other drawbacks?

-- 
Orion Poplawski
System Administrator                   303-415-9701 x222
Colorado Research Associates/NWRA      FAX: 303-415-9702
3380 Mitchell Lane, Boulder CO 80301   http://www.co-ra.com




More information about the Fedora-maintainers mailing list