buildwsh
build customized workstation handler process
buildwsh
[-v
] [-o
name
] [-f
files
]
buildwsh
is used to construct a customized BEA TUXEDO workstation handler module. The files included by the caller should include only the application buffer type switch and any required supporting routines. The command combines the files supplied by the -f
option with the standard BEA TUXEDO libraries necessary to form a workstation handler load module. The load module is built by the cc
(1) command described in UNIX System reference manuals, which buildwsh
invokes. The options to buildwsh
have the following meaning:
-v
buildwsh
should work in verbose mode. In particular, it writes the cc
command to its standard output.
-o
name
-w
WSHname
option of the WSL
(5) server in the SERVER
section of the configuration file. If not supplied, the load module is named WSH
.
-f
firstfiles
buildwsh
normally uses the cc command to produce the a.out. In order to allow for the specification of an alternate compiler, buildwsh checks for the existence of a shell variable named CC
. If CC
does not exist in buildwsh 's environment, or if it is the string "", buildwsh
will use cc as the compiler. If CC
does exist in the environment, its value is taken to be the name of the compiler to be executed. Likewise, the shell variable CFLAGS
is taken to contain a set of parameters to be passed to the compiler.
If your application uses shared libraries, it is not necessary to go through this compile and link process. See the description in the "Buffer Types" chapter of the book Administering the BEA TUXEDO System.
buildwsh
is supported as a BEA TUXEDO-supplied compilation tool on UNIX operating systems only.
ncc CFLAGS="-I $TUXDIR/include"; export CC CFLAGS buildwsh
-o APPWSH -f apptypsw.o
buildclient
(1), wsl
(5) cc(1), ld
(1) in UNIX System reference manuals