-fpic vs fPIC

Brian Dessent brian@dessent.net
Mon Jun 12 03:40:00 GMT 2006


Hiroki Kaminaga wrote:

> Thank you very much.
> 
> On ppc32/linux target, -fpic and -fPIC is available, and from the
> above info, I assume -fpic is better for performance, and if library
> GOT size exceeds 32k, -fPIC is the only chice.

You might also want to read
<http://people.redhat.com/drepper/dsohowto.pdf>, particularly page 14.

Brian



More information about the Gcc-help mailing list