pkg-config icon

pkg-config For Linux

4.0/5 27
GPL    

An Open Source Linux daemon for managing library compile/link flags on your distribution. #Managing library compile flag  #Package management  #Package configuration  #Package  #Configuration  #Management  

Softpedia Review

changelog

Free Download

Review by:
5.0/5

pkg-config is an open source and completely free command-line program, a helper tool that is used automatically by the GCC (GNU Compiler Collection) project when compiling libraries and applications under a GNU/Linux or UNIX-like operating system.

The software has been engineered in such a way that it can handle library links and compile flags which work with both the autoconf and automake tools. It is designed to replace the universal *-config scripts and it’s language-agnostic.

pkg-config boasts a wide range of command-line options, which can be viewed at a glance by running the ‘pkg-config --help’ command after installation (see out ‘Getting started with pkg-config’ section below for details).

Among these, we can mention the ability to list all known packages, to grab the value of give variables, to set a given variable to a value, to output all linker flags, to output all compiler flags and pre-processors, as well as to output linker flags for static linking.

Installing pkg-config in your GNU/Linux operating system is quite easy, as this is a small program that compiles fast. Begin by heading to the download section above, download and save the latest release on your Home directory, and extract the archive’s contents.

Then, open a terminal emulator app, go to the location where you’ve extracted the archive file (e.g. cd /home/softpedia/pkg-config-0.28), run the ‘./configure && make’ command to configure and compile the program, followed by the ‘sudo make install’ command to install it system wide.

pkg-config is a cross-platform software that has been successfully tested and it works perfectly on all GNU/Linux distributions, as well as on the FreeBSD, Mac OS X and Microsoft Windows operating systems. It only requires a working C library and compiler.

What's new in pkg-config 0.28:

  • 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 the full changelog

pkg-config 0.28

add to watchlist add to download basket send us an update REPORT
  runs on:
Linux
  filename:
pkg-config-0.28.tar.gz
  1 screenshot:
pkg-config - The help message of the pkg-config command-line tool, as viewed from the Linux Terminal
  main category:
Programming
  developer:
  visit homepage

calibre 7.9.0

Effortlessly keep your e-book library thoroughly organized with the help of the numerous features offered by this efficient and capable manager
calibre

IrfanView 4.67

With support for a long list of plugins, this minimalistic utility helps you view images, as well as edit and convert them using a built-in batch mode
IrfanView

4k Video Downloader 1.5.3.0080 Plus / 4.30.0.5655

Export your favorite YouTube videos and playlists with this intuitive, lightweight program, built to facilitate downloading clips from the popular website
4k Video Downloader

ShareX 16.0.1

Capture your screen, create GIFs, and record videos through this versatile solution that includes various other amenities: an OCR scanner, image uploader, URL shortener, and much more
ShareX

paint.net 5.0.13 (5.13.8830.42291)

Packed with an array of options and an intuitive interface, this application enables you to create professional-looking photographs
paint.net

7-Zip 23.01 / 24.04 Beta

An intuitive application with a very good compression ratio that can help you not only create and extract archives, but also test them for errors
7-Zip

Zoom Client 6.0.2.37566

The official desktop client for Zoom, the popular video conferencing and collaboration tool used by millions of people worldwide
Zoom Client

Microsoft Teams 24060.3102.2733.5911 Home / 1.7.00.7956 Work

Effortlessly chat, collaborate on projects, and transfer files within a business-like environment by employing this Microsoft-vetted application
Microsoft Teams

Bitdefender Antivirus Free 27.0.35.146

Feather-light and free antivirus solution from renowned developer that keeps the PC protected at all times from malware without requiring user configuration
Bitdefender Antivirus Free

Windows Sandbox Launcher 1.0.0

Set up the Windows Sandbox parameters to your specific requirements, with this dedicated launcher that features advanced parametrization
Windows Sandbox Launcher

% discount
Microsoft Teams
  • Microsoft Teams
  • Bitdefender Antivirus Free
  • Windows Sandbox Launcher
  • calibre
  • IrfanView
  • 4k Video Downloader
  • ShareX
  • paint.net
  • 7-Zip
  • Zoom Client
essentials


User Comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy