45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
LIBP7-CONFIG(1)
|
|
===============
|
|
Thomas "Cakeisalie5" Touhey
|
|
:Email: thomas@touhey.fr
|
|
:man source: libp7
|
|
:man manual: libp7 manual
|
|
|
|
NAME
|
|
----
|
|
libp7-config - script to get information about the installed version of libp7
|
|
|
|
SYNOPSIS
|
|
--------
|
|
*libp7-config* [--version] [--cflags] [--libs]
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
*libp7-config* is a tool that is used to configure and determine the compiler
|
|
and linker flags that should be used to compile and link programs, libraries,
|
|
and plugins that use libp7.
|
|
|
|
OPTIONS
|
|
-------
|
|
*--cflags*::
|
|
Print the compiler flags that are necessary to compile a program or library
|
|
that uses libp7.
|
|
*--libs*::
|
|
Print the linker flags that are necessary to link a program that uses libp7.
|
|
*--version*::
|
|
Prints the currently installed version of libp7 on standard output.
|
|
|
|
EXAMPLES
|
|
--------
|
|
gcc -o main.o $(libp7-config --cflags) main.c::
|
|
is how you might use *libp7-config* to compile a C source file for an
|
|
executable program.
|
|
gcc -o my_app $(libp7-config --libs) main.o util.o::
|
|
is how you might use *libp7-config* to link compiled objects into an
|
|
executable program.
|
|
|
|
SEE ALSO
|
|
--------
|
|
*libp7*(3),
|
|
*pkg-config*(1)
|