This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -fpic vs fPIC


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]