![]() |
![]() |
e-docs > Tuxedo > Command Reference > Section 1 - Commands |
Command Reference
|
Name
buildobjclient—Constructs a CORBA client application.
Synopsis
buildobjclient [-v][-o name] [-f firstfile-syntax]
[-l lastfile-syntax] -P
Description
Use the buildobjclient command to construct a CORBA client application. The command combines the files specified in the -f and -l options with the standard CORBA libraries to form a client application. The client application is built using the default C++ language compile command defined for the operating system in use.
All specified .c and .cpp files are compiled in one invocation of the compilation system for the operating system in use. Users may specify the compiler to invoke by setting the CC environment variable to the name of the compiler. If the CC environment variable is not defined when buildobjclient is invoked, the default C++ language compile command for the operating system in use will be invoked to compile all .c and .cpp files.
Users may specify options to be passed to the compiler by setting the CFLAGS or the CPPFLAGS environment variables. If CFLAGS is not defined when buildobjclient is invoked, the buildobjclient command uses the value of CPPFLAGS if that variable is defined.
Options
Note: Filenames that include spaces are not supported.
Note: The -f option may be specified multiple times.
Note: The -l option may be specified multiple times.
Environment
Variables
Note: Arguments passed by the CFLAGS environment variable take priority over the CPPFLAGS variable.
Portability
The buildobjclient command is not supported on client-only CORBA systems.
Examples
The following example builds a CORBA client application on a Windows system:
set CPPFLAGS=-I%APPDIR%\include
buildobjclient -o empclient.exe -f emp_c.cpp -l userlib1.lib
The following example builds a CORBA client application on a UNIX system using the c shell:
setenv CPPFLAGS=$APPDIR/include
buildobjclient -o empclient -f emp_c.cpp -l userlib1.a
![]() |
![]() |
![]() |
![]() |
||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |