Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

CC : static library and PIC option?

807575Oct 5 2007 — edited Oct 8 2007
Hi,

i am using some C++ static libraries made by people who are not anymore in my company.
They have used -KPIC (for position indepent code)option to produce objects(.o) that are only used in static libraries(.a).
As for me, it is an error but i m not a guru concerning that domain...
That s why i would like a compilation expert to tell me if this option has something to do there or if it is only made for objects which are used in a shared library.
I would appreciate if you could give me a link to a tutorial or the title of a book describing this.

Thanks a lot!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 5 2007
Added on Oct 5 2007
7 comments
1,321 views