Best Answer: What Is Pc File Linux?

Best Answer: What Is Pc File Linux?
Contents

DESCRIPTION. pkg-config files provide a useful mechanism for storing various information about libraries and packages on a given system. Information stored by . pc files include compiler and linker flags necessary to use a given library, as well as any other relevant metadata. These .

What is .PC file in Linux?

The primary use of pkg-config is to provide the necessary details for compiling and linking a program to a library. This metadata is stored in pkg-config files. These files have the suffix . pc and reside in specific locations known to the pkg-config tool. … Name: A human-readable name for the library or package.

Where is .PC file in Linux?

On most systems, pkg-config looks in /usr/lib/pkgconfig, /usr/share/pkgconfig, /usr/local/lib/pkgconfig and /usr/local/share/pkgconfig for these files. It will additionally look in the colon-separated (on Windows, semicolon-separated) list of directories specified by the PKG_CONFIG_PATH environment variable.

Alexander Ross
Author

Alexander Ross

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.