-fPIC cflag

Recommended Posts


Hey, been doing a bit of reading recently ... and saw that this cflag apparently allows you to prelink kde (while i spend like .01% of my time in kde, the prelink errors on kde binaries get annoying).

Can someone give me some more info on this? eg... is it safe to use system wide, does it decrease/increase performance, and does it really help you prelink kde?


Link to post
Share on other sites

The -fPIC flag tells the compiler to create Position Independent Code.

To sum it up, libraries compiled with this flag can be loaded into memory multiple times.

The prelink errors are caused by libraries that are not compiled with this flag.

Link to post
Share on other sites
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.