![]() |
![]() |
|
|
Building an RPC Client
A native RPC client is built using the buildclient(1) command. This command automatically links in the BEA Tuxedo libraries. However, the RPC run time must be linked in explicitly. This is done by specifying the -f -ltrpc option after any application files on the buildclient command line. Generally, the output of the tidl(1) command is a client stub object file. This can be passed directly to the buildclient command. Note that the client stub and the application source, object, and library files executing the remote procedure calls should be specified ahead of the run-time library, also using the -f option. For an example, see the makefile rpcsimp.mk in Appendix A, "A Sample Application."
To build a UNIX Workstation client, simply add the -w option to the buildclient(1) command line so that the Workstation libraries are linked in instead of the native libraries.
![]() |
![]() |
![]() |
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|