pkg-config 0.28

An Open Source Linux daemon for managing library compile/link flags on your distribution
pkg-config - The help message of the pkg-config command-line tool, as viewed from the Linux Terminal
  1 Screenshot
pkg-config is an open source command-line software, a helper tool that is used automatically by GCC when compiling libraries and applications under a UNIX-like operating system. It only requires a working C library and compiler.

The software manages library link and compile flags that work with both autoconf and automake tools. It is designed to replace the universal *-config scripts and it’s language-agnostic.

pkg-config is a cross-platform software that has been succesfully tested and it works well on the Linux, FreeBSD, Apple Mac OS X and Microsoft Windows operating systems.

last updated on:
December 12th, 2013, 15:44 GMT
developed by:
Tollef Fog Heen
license type:
GPL (GNU General Public License) 
ROOT \ Programming \ Compilers
Download Button

In a hurry? Add it to your Download Basket!

user rating 26



Rate it!
What's New in This Release:
  • Fixed a pair of long-standing and intertwined bugs involving unwanted removal of flags. The first is that other Libs flags like -Wl are now kept in context order with -l flags. The second is that aggressive removal of all duplicate arguments has been scaled back so that just consecutive duplicate arguments are removed. One result of this change is that some flags could be repeated in the final output, especially flags from non-pkg-config packages like -lm. Since pkg-config rarely has enough knowledge here about the right thing to do, we throw the duplicate arguments at the compiler/linker and trust it will do the right thing.
  • Fixed an old bug to allow circular Requires. This fix brings along a small behavior change in that pkg-config resolves requires depth first, causing some lower level flags to show up earlier in the output than previously.
  • Cleaned up many corner-case bugs and ambiguous behavior in pkg-config's interface. Thanks to Michał Górny for finding so many of these.
  • New autoconf macro PKG_CHECK_VAR for reading variables from .pc files.
read full changelog

Add your review!