[colug-432] linker is being PICky

Jeff Frontz jeff.frontz at gmail.com
Mon Jun 29 09:51:53 EDT 2015


On Sat, Jun 27, 2015 at 11:49 AM, Rick Troth <rmt at casita.net> wrote:

> Why would PIC not be the default?
> Or why would autoconfig/automake not figure out that "-fPIC" is needed?
>
>
I can't remember the x86 addressing modes (or their implementations), but
relative-mode addressing can add overhead in some architectures.  Take a
peek at
http://stackoverflow.com/questions/813980/why-isnt-all-code-compiled-position-independent

As to knowing if -fPIC is needed -- that's not known until you try to build
the dependent, right?


Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.colug.net/pipermail/colug-432/attachments/20150629/438cdcb9/attachment.html 


More information about the colug-432 mailing list