aboutsummaryrefslogtreecommitdiff
path: root/dist/config
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-04-14 11:03:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-04-14 11:03:52 +0200
commit67d345314f0def447ce7cd161675f0e2060124d1 (patch)
treee014a550c8c005928e64dc9b86c7a72f643774ba /dist/config
parentbb3143a129b91e6442a14ec1a6b05ff62c5d8b55 (diff)
Add more information about using XDR on various platforms
Diffstat (limited to 'dist/config')
-rw-r--r--dist/config/config.make14
-rw-r--r--dist/config/config.nmake14
2 files changed, 24 insertions, 4 deletions
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