« ^ »

pkg-configについて

所要時間: 約 3分

https://www.freedesktop.org/wiki/Software/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.c `pkg-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.

pkg-configは、アプリケーションとライブラリをコンパイルするときに使用されるヘルパーツールです。 アプリケーションがgcc -o test test.c `pkg-config –libs –cflagsglib-2.0`を使用できるように、 コマンドラインに正しいコンパイラオプションを挿入するのに役立ちます。 glib(または他のライブラリ)を見つけます。 これは言語に依存しないため、たとえば文書化ツールの場所の定義に使用できます。

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

このプログラムはフリーソフトウェアで、GPLバージョン2またはそれ以降のバージョンでライセンスされており、選択できます。

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.)

pkg-configは、LinuxなどのUNIX対応のオペレーティングシステム、Mac OS X、Windowsなど、複数のプラットフォームで動作します。 それは合理的にうまく動作するCコンパイラとCライブラリを必要としませんが、それが存在する場合にはインストールされたglibを使用できます。 (最近のglib2のコピーは、0.27以降のpkg-configバージョンと一緒に配布され、これはpkg-configがコンパイルして正常に動作するのに十分です。)

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 Tollef Fog Heen [email protected] and Dan Nicholson [email protected].

最初の実装はJames Henstridgeによってシェルで書かれました。その後、HavocPenningtonによってC言語に書き直されました。 Tim Janikによって書かれたautoconfマクロは、Scott James Remnantによって後で書き直されました。 現在のメンテナはTollefFog Heen とDan Nicholson です。

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

現在のpkg-configのリリースはバージョン0.29.2で、[/releases](https://pkg-config.freedesktop.org/releases/)にあります。

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

pkg-configは、gitリポジトリ git://anongit.freedesktop.org/pkg-config ([browse](https://cgit.freedesktop.org/pkg-config))から入手できます。

Bugs can be filed in the Freedesktop.org bug tracker

バグはFreedesktop.orgのバグトラッカーに提出できます

There is a mailing list for development and user questions at [email protected] (Archives) (Subscribe)

開発とユーザの質問のためのメーリングリストが[email protected](アーカイブ)にあります(購読)

New and veteran users alike may find Dan Nicholson’s Guide to pkg-config informative, particularly the FAQ section which provides examples of where the Requires.private field is appropriate.

新規ユーザーとベテランユーザーは、Dan Nicholsonのpkg-configに関する情報、特に Requires.privateフィールドが適切な場所の例を提供するFAQセクションを見つけること ができます。

Links: Software Last edited Wed Apr 5 14:07:05 2017