-fpic option

Tim Prince timothyprince@sbcglobal.net
Thu Jun 1 11:55:00 GMT 2006

satyaakam goswami wrote:
> Hello ,
>          I have a question  ,  When i create two libs with one with
> -fpic option and other without it and then include both to create a
> binary archive will the both libs work together?
> Satya
You would expect -fpic to be required for dynamic libraries.  On some of 
the more common operating systems, they should work together if you 
don't violate that requirement.

More information about the Gcc-help mailing list