orbit2-config(1) User Commands orbit2-config(1)NAMEorbit2-config - helper script for building with orbit2
SYNOPSISorbit2-config [--help ] [--version] [--prefix=dir] [--cflags] [--libs]
[--exec-prefix=dir] [--use-service=service] [client | server]
DESCRIPTION
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.
OPTIONS
The following options are supported:
--cflags Print the compiler flags that are nec‐
essary to compile a program using the
specified library.
--libs Print the linker flags that are neces‐
sary 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 out‐
put 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 ser‐
vice. Known values for service are:
module CosNaming, interfaces LNameCom‐
ponent, LName.
--version Print the currently installed version
of the library on the standard output.
OPERANDS
The following operands are supported:
client Used when compiling an orbit2 client.
server Used when compiling an orbit2 server.
EXAMPLES
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
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/orbit2-config Executable for the orbit2 helper script
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │SUNWgnome-component-devel │
├─────────────────────────────┼─────────────────────────────┤
│Interface stability │Volatile │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOpkg-config(1), libORBit-2(1)attributes(5)NOTES
This man page was originally written by Chris Waters (xtifr@debian.org)
for Debian GNU/Linux. Updated by Dick Porter (dick@acm.org) and Elliot
Lee (sopwith@redhat.com). Updated by Brian Cameron, Sun Microsystems
Inc., 2003.
SunOS 5.11 11 Jan 2003 orbit2-config(1)