orbit2-config - helper script for building with orbit2
orbit2-config [--help ] [--version] [--prefix=dir] [--cflags] [--libs] [--exec-prefix=dir] [--use-service=service] [client | server]
The orbit2-config tool is used to determine the compiler and linker flags that should be used to compile and link programs that use the orbit2 library. It is also used internally by the .m4 macros for GNU autoconf that are included with orbit. In most cases, you will use one (or both) of the options --cflags or --libs, depending on whether you are compiling or linking.
The following options are supported:
--cflags Print the compiler flags that are necessary to compile a program using the specified library.
--libs Print the linker flags that are necessary to link with the specified library.
--exec-prefix=dir If specified, use dir instead of the installation exec prefix that the library was built with, when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options.
--help Print a usage summary.
--prefix=dir If specified, use dir instead of the installation prefix that the library was built with, when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options. This option is also used for the exec prefix, if the --exec-prefix option is not specified.
--use-service=service If specified, provide additional flags (if any) for using the specified service. Known values for service are: module CosNaming, interfaces LNameComponent, LName.
--version Print the currently installed version of the library on the standard output.
The following operands are supported:
client Used when compiling an orbit2 client.
server Used when compiling an orbit2 server.
Example 1: Getting the orbit2 library version
example% orbit2-config --version
Example 2: Determining the libraries required to link with the orbit2 library
example% orbit2-config --libs
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
The following files are used by this application:
/usr/bin/orbit2-config Executable for the orbit2 helper script
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE ATTRIBUTE VALUE Availability SUNWgnome-component-devel Interface stability Volatile
This man page was originally written by Chris Waters ([email protected].org) for Debian GNU/Linux. Updated by Dick Porter ([email protected].org) and Elliot Lee ([email protected].com). Updated by Brian Cameron, Sun Microsystems, 2003.
|SunOS 5.11||orbit2-config (1)||11 Jan 2003|