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