Compiling and Link Editing on Solaris
To compile the Network application source file (network.cpp file), you have to specify the path to the Rogue Wave® Server include directory, as follows:
$ {CC} -c -IS{ILSHOME}/include network.cpp
To perform link editing for the Network application, the following libraries are required:
libilog.xxx,
libserver.xxx (Rogue Wave Server library),
libmvserver.xxx (Rogue Wave Server dynamic views main library),
libmvtcp.xxx (Rogue Wave Server distribution library using MvTCP),
On Solaris 10, the link editing command would look like this:
$ {CC} -o network -o network.o main.o -L${ILSHOME}/lib/${SYSTEM}\
-lilog -lmvserver -lserver -lmvtcp \
-lnsl -lsocket -lgen -ldl
Version 5.7
Copyright © 2013, Rogue Wave Software, Inc. All Rights Reserved.