CC : static library and PIC option?
807575Oct 5 2007 — edited Oct 8 2007Hi,
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!