When preparing dynamic libraries on Linux, there is always a choice about selecting -fpic / -fPIC.
The difference lies mostly on RISC architectures. -fpic seems to take lesser number of instructions as compared to -fPIC .
For more details - refer to Section 2, in the document - "How to write Shared Libraries" by Ulrich Drepper.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment