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 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 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 library
was 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 was
SunOS 5.11 Last change: 11 Jan 2003 1
User Commands orbit2-config(1)
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 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 the
library 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 version
example% orbit2-config --version
Example 2: Determining the libraries required to link with
the orbit2 library
example% 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
script
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE 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
|