User Commands orbit2-config(1)
NAME
orbit2-config - helper script for building with orbit2
SYNOPSIS
orbit2-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 pro-
grams that use the orbit2 library. It is also used inter-
nally by the .m4 macros for GNU autoconf that are included with orbit. In most cases, you will use one (or both) of theoptions --cflags or --libs, depending on whether you are
compiling or linking. OPTIONS The following options are supported:--cflags Print the compiler flags
that are necessary to com-
pile 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 librarywas built with, when comput-
ing the output for the --
cflags and --libs options.
This option must be speci-
fied 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 wasSunOS 5.11 Last change: 11 Jan 2003 1
User Commands orbit2-config(1)
built with, when computingthe output for the --cflags
and --libs options. This
option must be specifiedbefore any --libs or --
cflags options. This option is also used for the execprefix, if the --exec-prefix
option is not specified.--use-service=service If specified, provide addi-
tional 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 thelibrary on the standard out-
put. 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 versionexample% orbit2-config --version
Example 2: Determining the libraries required to link with the orbit2 libraryexample% orbit2-config --libs
SunOS 5.11 Last change: 11 Jan 2003 2
User Commands orbit2-config(1)
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
scriptATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWgnome-component-devel |
|_____________________________|_____________________________|
| Interface stability | Volatile ||_____________________________|_____________________________|
SEE ALSO
pkg-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 Last change: 11 Jan 2003 3