Fb_config
<< CreateAliasDB | Firebird shell scripts | ChangeRunUser >>
Fb_config
The fb_config
script is intended to be used from within a makefile
to supply various settings and compiler options which are accurate and specific to the installation being used.
Note: This script can be run by any user who has been given execute privileges to it. You do not need to be root to use this script.
fb_config
options
To run the fb_config
script, use a command line similar to the following:
fb_config <option> [ <option> [...]]
The script takes one or more options on the command line:
--help
--cflags
#include
directives to be correctly resolved. On my own system, this option returns '-I/opt/firebird/include'
.
--libs
'-L/opt/firebird/lib -lfbclient'
on my system.
--embedlibs
'-L/opt/firebird/lib -lfbembed'
on my system.
--bindir
'/opt/firebird/bin'
as the full path to the Firebird /bin
directory.
--version
'1.5.0.4290-0.i686'
.
The following is a brief excerpt from a makefile
which shows how to define two macros, FBFLAGS
and FBLIBS
, and initialise them to the correct values using fb_config
. Note the use of the back tick character (`
) rather than a single quote character ('
).
... FBFLAGS = 'fb_config --cflags' FBLIBS = 'fb_config --libs'
See also:
fb_config
Services configuration
back to top of page
<< CreateAliasDB | Firebird shell scripts | ChangeRunUser >>