From my knowledge, *.pc files store metadata about shared libraries. Does the linker automatically use these files when linking against a shared library? If so, where does it search for these files?
+2
A:
No, the linker does not utilize .pc
files. Those files are for pkg-config
, which can in turn be used to generate commands to link.
Yann Ramin
2010-07-29 16:47:52