博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
pkg-config
阅读量:4968 次
发布时间:2019-06-12

本文共 1656 字,大约阅读时间需要 5 分钟。

https://www.freedesktop.org/wiki/Software/pkg-config/

 

pkg-config

pkg-config is a helper tool used when compiling applications and libraries. It helps you insert the correct compiler options on the command line so an application can use gcc -o test test.cpkg-config --libs --cflags glib-2.0 for instance, rather than hard-coding values on where to find glib (or other libraries). It is language-agnostic, so it can be used for defining the location of documentation tools, for instance.

The program is free software and licensed under the  version 2 or any later version (at your option).

pkg-config works on multiple platforms: Linux and other UNIX-like operating systems, Mac OS X and Windows. It does not require anything but a reasonably well working C compiler and a C library, but can use an installed glib if that is present. (A copy of recent glib2 is shipped together with pkg-config versions since 0.27, and this is sufficient for pkg-config to compile and work properly.)

The first implementation was written in shell, by James Henstridge. Later, it was rewritten in C by Havoc Pennington. It also grew an autoconf macro written by Tim Janik, later rewritten by Scott James Remnant. The current maintainers are  and .

The current release of pkg-config is version  and can be found in .

pkg-config is available from the  repository at git://anongit.freedesktop.org/pkg-config

Bugs can be filed in the 

There is a mailing list for development and user questions at   

New and veteran users alike may find  informative, particularly  which provides examples of where the Requires.private field is appropriate.

转载于:https://www.cnblogs.com/jhj117/p/5749215.html

你可能感兴趣的文章
C语言——第三次作业
查看>>
C++ primer笔记 -基本语言
查看>>
js 获取当前标签 jquery1.11.4
查看>>
解决2.3.x某些系统中listview超出item高度部分灰色背景问题
查看>>
2012暑假集训内部测试赛1
查看>>
CentOS6.8-minimal安装gnome桌面 安装NVC远程桌面连接
查看>>
第二部分 : 简单句的核心变化(时态)
查看>>
Daily Scrum 10.30
查看>>
POJ 2503 单词映射(map)
查看>>
关于Mysql数据库查询数据大小写的问题汇总
查看>>
!HDU 2602 Bone Collector--DP--(裸01背包)
查看>>
Android测试(四)——内容供应器泄露
查看>>
HTML5学习路线资料,HTML5前端面试的技术栈
查看>>
letecode [532] - K-diff Pairs in an Array 解法优-时间复杂度O(nlogn),空间O(1)
查看>>
sqlce wp
查看>>
数据结构线性表的经典笔试面试题
查看>>
前端自动化构建工具 Webpack——3 webpack配置文件的使用
查看>>
t4模板的认识
查看>>
XShell命令行使用
查看>>
jQuery设置和获取HTML、文本和值
查看>>