From 67d345314f0def447ce7cd161675f0e2060124d1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 14 Apr 2009 11:03:52 +0200 Subject: Add more information about using XDR on various platforms --- dist/config/config.make | 14 ++++++++++++-- dist/config/config.nmake | 14 ++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) (limited to 'dist/config') diff --git a/dist/config/config.make b/dist/config/config.make index 0602490..822e7d2 100644 --- a/dist/config/config.make +++ b/dist/config/config.make @@ -105,8 +105,18 @@ XSDE_CDR := n # Set to 'y' if you want support for serialization of the C++/Hybrid # object model to the XDR (eXternal Data Representation) binary format. # This functionality requires the XDR API which is available out of the -# box on most POSIX systems as part of Sun RPC. On other platforms you -# may need to install a third-party library which provides the XDR API. +# box on most POSIX systems as part of Sun RPC. On some systems (e.g., +# (Linux, Mac OS X, iPhone OS) this API is part of libc in which case +# you don't need to link anything extra. On other platforms, the XDR +# API may require linking to another library (which you can add to the +# LIBS variable above), such as -lrpc (QNX, LynxOS) or -lnsl. On non- +# POSIX platforms you may need to install a third-party library which +# provides the XDR API. Also note that some older versions of the API +# (e.g., those found on LynxOS) may not support serialization of the +# long long type. In this case you will get a compilation error saying +# that xdr_longlong_t and xdr_u_longlong_t are not declared. One way to +# resolve this is to disable the use of the long long type in XSD/e (see +# XSDE_LONGLONG above). # XSDE_XDR := n diff --git a/dist/config/config.nmake b/dist/config/config.nmake index 8acecbb..8027117 100644 --- a/dist/config/config.nmake +++ b/dist/config/config.nmake @@ -104,8 +104,18 @@ XSDE_CDR = n # Set to 'y' if you want support for serialization of the C++/Hybrid # object model to the XDR (eXternal Data Representation) binary format. # This functionality requires the XDR API which is available out of the -# box on most POSIX systems as part of Sun RPC. On other platforms you -# may need to install a third-party library which provides the XDR API. +# box on most POSIX systems as part of Sun RPC. On some systems (e.g., +# (Linux, Mac OS X, iPhone OS) this API is part of libc in which case +# you don't need to link anything extra. On other platforms, the XDR +# API may require linking to another library (which you can add to the +# LIBS variable above), such as -lrpc (QNX, LynxOS) or -lnsl. On non- +# POSIX platforms you may need to install a third-party library which +# provides the XDR API. Also note that some older versions of the API +# (e.g., those found on LynxOS) may not support serialization of the +# long long type. In this case you will get a compilation error saying +# that xdr_longlong_t and xdr_u_longlong_t are not declared. One way to +# resolve this is to disable the use of the long long type in XSD/e (see +# XSDE_LONGLONG above). # XSDE_XDR = n -- cgit v1.1