26 lines
1.2 KiB
Plaintext
26 lines
1.2 KiB
Plaintext
This document describes how to port CDEV to a different UNIX platform.
|
|
Currently, CDEV with channel access service has been tested on HP-UX 9.x,
|
|
HP-UX 10.1(2), Solaris 2.5(6), and Linux 2.0.x, and CDEV without channel
|
|
access service has been ported to SunOs (gcc-2.7), Ultrix (gcc-2.6), Irix,
|
|
VMS (DEC C++) and AIX. The following are brief description of what one may
|
|
have to do to port CDEV.
|
|
1) Makefile and Makefile.common have to be changed a little (Check README).
|
|
We are in the process to find a way to configure makefiles for different
|
|
platform.
|
|
|
|
2)in src/cdevIO, xdrClass.h may need to add some header file for rpc related
|
|
stuff.
|
|
|
|
3)in src/cdevIO. cdevData.i contains inlined functions for cdevData. If one
|
|
has trouble to build library using inline function, add _CDEV_NO_INLINE
|
|
to one's C++ flag.
|
|
|
|
4)one can build CDEV in a share library form and dynammically load services
|
|
if the operating system permits. Currently one can have CDEV shared library
|
|
on HP-UX, SunOs, Solaris, Linux, Irix. If shared libray of CDEV is desired
|
|
form on a different platform, src/common/shObjLoader, that loads services
|
|
into applications dynamically, has to be modified.
|
|
|
|
Eventually, all system dependent stuff will be in one file somewhere. But
|
|
for now we don't have time to do that.
|