tags:

views:

20

answers:

1

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