Changes between Initial Version and Version 1 of Ticket #8024, comment 2


Ignore:
Timestamp:
Sep 22, 2013 3:51:55 PM (4 years ago)
Author:
erikd
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8024, comment 2

    initial v1  
    1 Mentioned this to Duncan and he suggested this may might be fixed by changing -fpic to -fPIC. Need to research the difference.
     1Mentioned this to Duncan and he suggested this may might be fixed by changing -fpic to -fPIC.
     2
     3From: http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
     4
     5"""Use -fPIC or -fpic to generate code. Whether to use -fPIC or -fpic to generate code is target-dependent. The -fPIC choice always works, but may produce larger code than -fpic (mnenomic to remember this is that PIC is in a larger case, so it may produce larger amounts of code). Using -fpic option usually generates smaller and faster code, but will have platform-dependent limitations, such as the number of globally visible symbols or the size of the code. The linker will tell you whether it fits when you create the shared library. When in doubt, I choose -fPIC, because it always works."""