buildwsh - build customized workstation handler process
buildwsh [ -v ] [ -o name] [ -f files]
buildwsh is used to construct a customized TUXEDO System/T 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 TUXEDO System/T 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:
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 "Buffers" chapter of the BEA TUXEDO Administrator's Guide.
buildwsh is supported as a TUXEDO System/T-supplied compilation tool on UNIX operating systems only.
CC=ncc CFLAGS="-I $TUXDIR/include"; export CC CFLAGS buildwsh -o APPWSH -f apptypsw.o
buildclient(1), cc(1), ld(1) in UNIX System reference manuals