RTI Connext DDS

Core Libraries and Utilities

Platform Notes

Version 5.1.0

© 2012-2013 Real-Time Innovations, Inc.

All rights reserved.

Printed in U.S.A. First printing.

December 2013.

Trademarks

Real-Time Innovations, RTI, DataBus, and Connext are trademarks or registered trademarks of Real-Time Innovations, Inc. All other trademarks used in this document are the property of their respective owners.

Copy and Use Restrictions

No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form (including electronic, mechanical, photocopy, and facsimile) without the prior written permission of Real- Time Innovations, Inc. The software described in this document is furnished under and subject to the RTI software license agreement. The software may be used or copied only under the terms of the license agreement.

Technical Support

Real-Time Innovations, Inc. 232 E. Java Drive Sunnyvale, CA 94089 Phone: (408) 990-7444 Email: support@rti.com

Website: https://support.rti.com/

Contents

1

Supported Platforms........................................................................................................................................

1

2

AIX Platforms....................................................................................................................................................

3

 

2.1

Multicast Support ...................................................................................................................................

6

 

2.2

Supported Transports ............................................................................................................................

6

 

2.3

Monotonic Clock Support .....................................................................................................................

6

 

2.4

Thread Configuration ............................................................................................................................

6

 

2.5

Durable Writer History and Durable Reader State Features............................................................

8

3

INTEGRITY Platforms ....................................................................................................................................

8

 

3.1

Patch Required for INTEGRITY 10.02 Platform.................................................................................

8

 

3.2

Support for Request-Reply Communication Pattern ........................................................................

8

 

3.3

Diagnostics on INTEGRITY Systems.................................................................................................

10

 

3.4

Running over IP Backplane on a Dy4 Champ-AVII Board.............................................................

10

 

3.5

Multi-NIC Support on INTEGRITY 5.0.............................................................................................

10

 

3.6

Multicast Support .................................................................................................................................

10

 

3.7

Supported Transports ..........................................................................................................................

10

 

3.8

Out-of-the-box Transport Compatibility with Other Connext Platforms ....................................

10

 

3.9

Using rtiddsping and rtiddsspy on PowerPC INTEGRITY Systems............................................

12

 

3.10

Monotonic Clock Support ...................................................................................................................

12

 

3.11

Thread Configuration ..........................................................................................................................

12

 

3.12

Durable Writer History and Durable Reader State Features..........................................................

14

 

3.13

Issues with INTEGRITY Systems.......................................................................................................

14

4 Linux and Fedora Platforms .........................................................................................................................

15

 

4.1

Multicast Support .................................................................................................................................

17

 

4.2

Supported Transports ..........................................................................................................................

17

 

4.3

Monotonic Clock Support ...................................................................................................................

18

 

4.4

Thread Configuration ..........................................................................................................................

18

 

4.5

Durable Writer History and Durable Reader State Features..........................................................

19

 

4.6

Libraries Required for Using RTI Secure WAN Transport APIs....................................................

19

 

4.7

Libraries Required for Using RTI TCP Transport APIs...................................................................

19

iii

5 LynxOS Platforms...........................................................................................................................................

26

5.1

Multicast Support .................................................................................................................................

29

5.2

Supported Transports ..........................................................................................................................

29

5.3

IP Fragmentation Issues ......................................................................................................................

30

5.4

Monotonic Clock Support ...................................................................................................................

30

5.5

Thread Configuration ..........................................................................................................................

30

5.6

Durable Writer History and Durable Reader State Features..........................................................

31

6 Mac OS Platforms...........................................................................................................................................

31

6.1

Multicast Support .................................................................................................................................

34

6.2

Supported Transports ..........................................................................................................................

34

6.3

Monotonic Clock Support ...................................................................................................................

34

6.4

Thread Configuration ..........................................................................................................................

34

6.5

Durable Writer History and Durable Reader State Features..........................................................

35

7 QNX Platforms................................................................................................................................................

35

7.1

Required Change for Building with C++ Libraries for QNX Platforms.......................................

37

7.2

Multicast Support .................................................................................................................................

37

7.3

Supported Transports ..........................................................................................................................

37

7.4

Monotonic Clock Support ...................................................................................................................

38

7.5

Thread Configuration ..........................................................................................................................

38

7.6

Durable Writer History and Durable Reader State Features..........................................................

39

7.7

Restarting Applications on QNX Systems ........................................................................................

39

8 Solaris Platforms ............................................................................................................................................

40

8.1

Support for Request-Reply Communication Pattern ......................................................................

42

8.2

Multicast Support .................................................................................................................................

43

8.3

Supported Transports ..........................................................................................................................

43

8.4

Monotonic Clock Support ...................................................................................................................

44

8.5

Libraries Required for using RTI Secure WAN Transport APIs ....................................................

44

8.6

Thread Configuration ..........................................................................................................................

44

8.7

Durable Writer History and Durable Reader State Features..........................................................

44

9 VxWorks Platforms ........................................................................................................................................

46

9.1

Support for Request-Reply Communication Pattern ......................................................................

48

9.2

Increasing the Stack Size......................................................................................................................

48

9.3

Libraries for RTP Mode on VxWorks 6.3 and Higher Systems......................................................

48

9.4

Requirement for Restarting Applications .........................................................................................

49

9.5

Multicast Support .................................................................................................................................

49

9.6

Supported Transports ..........................................................................................................................

49

9.7

Monotonic Clock Support ...................................................................................................................

50

9.8

Thread Configuration ..........................................................................................................................

50

9.9

Durable Writer History and Durable Reader State Features..........................................................

51

9.10

Increasing the Receive Socket Buffer Size .........................................................................................

51

iv

10 Windows Platforms........................................................................................................................................

64

10.1

Use Dynamic MFC Library, Not Static ..............................................................................................

67

10.2

Visual Studio 2005 Required when Using RTI ‘Debug’ Libraries for Java or .NET APIs ..........

67

10.3

.NET API Requires Thread Affinity...................................................................................................

67

10.4

Multicast Support .................................................................................................................................

68

10.5

Supported Transports ..........................................................................................................................

68

10.6

Monotonic Clock Support ...................................................................................................................

68

10.7

Thread Configuration ..........................................................................................................................

68

10.8

ODBC Database Compatibility...........................................................................................................

69

10.9

PPP Link Support for Windows XP Systems....................................................................................

70

10.10

Libraries Required for Using RTI Secure WAN Transport APIs....................................................

70

10.11

Libraries Required for Using RTI TCP Transport APIs...................................................................

70

v

Platform Notes

This document provides platform-specific instructions on how to compile, link, and run RTI® Connext™ (formerly RTI Data Distribution Service) applications.

1

Supported Platforms

 

 

Table 1.1 lists the platforms available with Connext 5.1.0.

 

Table 1.1 Platforms Available with Release 5.1.0

 

 

 

 

 

 

 

Operating System

Reference

 

 

 

 

 

AIX®

AIX 5.3, 7.1

Table 2.1 on page 3

 

 

 

 

 

INTEGRITY®

INTEGRITY 5.0.11, 10.0.2

Table 3.1 on page 8

 

 

 

 

 

Linux®

Raspbian Wheezy 7.0 (3.x kernel)

Table 4.1 on page 15

 

(ARM® CPU)

 

 

 

 

 

Linux®

 

 

 

(Cell BE™

Fedora® 12 (2.6.32 kernel)

Table 4.2 on page 16

 

CPU)

 

 

 

 

 

 

 

 

CentOS 5.4, 5.5, 6.0, 6.2 - 6.4 (2.6 kernel)

 

 

 

Fedora 12 (2.6.32 kernel)

 

 

 

Fedora 12 (2.6.32 kernel) with gcc 4.5.1

 

 

Linux

Red Hat® Enterprise Linux 4.0, 5.0-5.2, 5.4, 5.5, 6.0 - 6.4 (2.6 kernel)

 

 

Red Hat Enterprise Linux 5.2 with Real-Time Extensions

Table 4.3 on page 16

 

(Intel® CPU)

 

(2.6 kernel)

 

 

 

 

 

 

SUSE® Linux Enterprise Server 11 SP2 (2.6 and 3.x kernel)

 

 

 

Ubuntu® Server 12.04 LTS (3.x kernel)

 

 

 

Wind River® Linux 4 (2.6 kernel)

 

 

 

 

 

 

Linux

Freescale P2020RDB (2.6.32 kernel)

 

 

SELinux (2.6.32 kernel)

 

 

(PowerPC®

Table 4.4 on page 17

 

Wind River Linux 3

 

CPU)

 

 

Yellow Dog™ Linux 4.0

 

 

 

 

 

 

 

 

 

LynxOS®a

LynxOS 4.0, 4.2, 5.0

Table 5.1 on page 26

 

Mac OS®

Mac OS X 10.8

Table 6.1 on page 31

 

 

 

 

 

QNX®

QNX Neutrino® 6.4.1, 6.5

Table 7.1 on page 35

 

 

 

 

 

Solaris™

Solaris 2.9, 2.10

Table 8.1 on page 40

 

 

 

 

1

 

 

 

Supported Platforms

Table 1.1 Platforms Available with Release 5.1.0

 

 

 

 

 

 

 

 

 

Operating System

 

Reference

 

 

 

 

 

 

 

 

 

 

 

 

VxWorks 5.5, 6.3 - 6.9

 

 

 

VxWorks®

VxWorks 653 2.3

 

Table 9.1 on page 46

 

 

VxWorks MILS 2.1.1

 

 

 

 

 

 

 

 

 

Windows 7 (32-bit and 64-bit Editions)

 

 

 

 

Windows 8 (32-bit and 64-bit Editions)

 

 

 

 

Windows Server 2003 (32-bit and 64-bit Editions)

 

Table 10.1 on

 

Windows®

Windows Server 2008 R2 (64-bit Edition)

 

 

 

page 64

 

 

Windows Server 2012 R2 (64-bit Edition)

 

 

 

 

 

 

 

Windows Vista® (32-bit and 64-bit Editions)

 

 

 

 

Windows XP Professional SP2 (32-bit and 64-bit Editions)

 

 

 

 

 

 

 

a.The Java API is not supported on LynxOS platforms in 5.1.0. If your application requires support for Java on LynxOS, please contact your RTI account manager.

For each platform, this document provides information on:

Supported operating systems and compilers

Required Connext and system libraries

Required compiler and linker flags

Required environment variables for running the application (if any)

Details on how the Connext libraries were built

Multicast support

Supported transports

Monotonic clock support

Thread configuration

Durable Writer History and Durable Reader State features support

Table 1.2 lists additional target libraries available with Connext 5.1.0, for which RTI offers custom support. If you are interested in using one of these platforms, please contact your local RTI rep- resentative or email sales@rti.com. These custom platforms are not described in this document, each has separate documentation that is provided with the custom library distribution.

Table 1.2 Custom Supported Platforms

 

Operating System

CPU

Compiler

RTI Architecture

 

Abbreviation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

INTEGRITY

 

INTEGRITY 5.0.11

PPC8349

GHnet2 TCP/IP stack

ppc8349Inty5.0.11.mds8349

 

 

 

 

 

 

 

 

2

 

 

 

 

 

 

AIX Platforms

 

Table 1.2 Custom Supported Platforms

 

 

 

 

 

 

 

 

 

 

 

 

 

Operating System

CPU

Compiler

RTI Architecture

 

 

 

Abbreviation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

NI Linux Real-Time

ARMv7

gcc 4.4.1

armv7AngstromLinux3.2

 

 

 

 

3.2a

gcc4.4.1.cortex-a9

 

 

 

 

 

 

 

 

 

 

Red Hat Enterprise

 

gcc 4.2.1

i86Linux2.6gcc4.2.1

 

 

 

 

x86

 

 

 

 

 

 

Java Platform, Stan-

 

 

 

 

 

Linux 5.2 (2.6 kernel)

i86Linux2.6gcc4.2.1jdk

 

 

 

 

 

dard Edition JDK 1.7

 

 

Linux

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Linux 6 for IBM

 

 

 

 

 

 

 

Red Hat Enterprise

 

 

 

 

 

 

 

POWER7 Servers

POWER7

gcc 4.4.4

power7Linux2.6gcc4.4.4

 

 

 

 

 

 

 

 

 

 

 

(2.6.32-70.el.ppc64)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RedHawk Linux 6.0

x64

gcc 4.4.5

x64Linux2.6gcc4.4.5

 

 

 

 

 

 

 

 

 

 

 

 

Wind River Linux

Pentium class

gcc 4.3.2

i86WRLinux2.6gcc4.3.2

 

 

 

 

3.0.3 (2.6 kernel)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VxWorks 6.7

Any PowerPC CPU

 

For Kernel Modules:

 

 

VxWorks

 

with floating-point

 

ppc604Vx6.7gcc4.1.2jdk

 

 

 

VxWorks 6.8

 

 

 

 

hardware that is back-

JamaicaVM 6.2.1 with

 

 

 

 

 

 

 

 

 

 

 

 

wards-compatible

gcc 4.1.2

For Kernel Modules:

 

 

 

 

 

with 32-bit PowerPC

 

ppc604Vx6.8gcc4.1.2jdk

 

 

 

 

 

604b

 

 

 

a.Requires NI-RIO 13.1 release or a patch from NI for NI-RIO 13.0

b.Some PowerPC cores such as e500v1 and e500v2 are not fully backwards-compatible with PPC 604.

2 AIX Platforms

Table 2.1 lists the architectures supported on the IBM® AIX operating system.

Table 2.1 Supported AIX Target Platforms

Operating

CPU

Compiler

RTI Architecture

System

Abbreviation

 

 

 

 

 

 

 

 

 

 

AIX 5.3

POWER5 (32-bit mode)

IBM XLC for AIX v9.0

p5AIX5.3xlc9.0

 

 

 

POWER5 (64-bit mode)

IBM XLC for AIX v9.0

64p5AIX5.3xlc9.0

 

 

 

 

 

AIX 7.1

POWER class (64-bit mode)

IBM xlC_r for AIX v12.1

64p7AIX7.1xlc12.1

 

 

IBM Java 1.7

64p7AIX7.1xlc12.1jdk

 

 

 

 

 

 

Table 2.2 lists the compiler flags and the libraries you will need to link into your application.

Table 2.3 provides details on the environment variables that must be set at run time for an AIX architecture.

3

AIX Platforms

Table 2.4 provides details on how the libraries were built. This table is provided strictly for infor- mational purposes; you do not need to use these parameters to compile your application. You may find this information useful if you are involved in any in-depth debugging.

Table 2.2 Building Instructions for AIX Architectures

API

Library

Required RTI Librariesa

Required System

Required Compiler

Format

Librariesb

Flags

 

 

 

 

 

 

 

 

 

libnddscppz.a

 

 

 

 

libnddscz.a

 

 

 

Static Release

libnddscorez.a

 

 

 

 

For Connext Messaging, also include:

 

 

 

 

librticonnextmsgcppz.a

-ldl -lnsl -lm

 

 

 

libnddscppzd.a

-pthread

 

 

 

libnddsczd.a

 

 

 

Static Debug

libnddscorezd.a

 

 

 

 

For Connext Messaging, also include:

 

-DRTI_AIX

C++

 

librticonnextmsgcppzd.a

 

-DRTI_UNIX

 

libnddscpp.so

 

-q[32|64] c

 

Dynamic

libnddsc.so

 

-qlongdouble

 

libnddscore.so

 

 

 

Release

 

 

 

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgcpp.so

-ldl -lnsl -lm

 

 

 

libnddscppd.so

-pthread -brtl

 

 

Dynamic

libnddscd.so

 

 

 

libnddscored.so

 

 

 

Debug

 

 

 

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgcppd.so

 

 

 

 

 

 

 

 

 

libnddscz.a

 

 

 

Static Release

libnddscorez.a

 

 

 

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgcz.a

-ldl -lnsl -lm

 

 

 

libnddsczd.a

-pthread

 

 

Static Debug

libnddscorezd.a

 

-DRTI_AIX

 

For Connext Messaging, also include:

 

 

 

 

 

 

 

-DRTI_UNIX

 

 

librticonnextmsgczd.a

 

C

 

 

-q[32|64] c

 

 

 

 

libnddsc.so

 

 

 

 

-qlongdouble

 

Dynamic

libnddscore.so

 

 

 

-qthreaded d

 

Release

For Connext Messaging, also include:

 

 

 

 

librticonnextmsgc.so

-ldl -lnsl -lm

 

 

 

libnddscd.so

-pthread -brtl

 

 

Dynamic

libnddscored.so

 

 

 

Debug

For Connext Messaging, also include:

 

 

 

 

librticonnextmsgcd.so

 

 

 

 

 

 

 

 

 

nddsjava.jar

 

 

 

Release

For Connext Messaging, also include:

 

 

Java

 

rticonnextmsg.jar

N/A

N/A

 

 

 

nddsjavad.jar

 

 

 

 

 

Debug

For Connext Messaging, also include:

 

 

 

 

rticonnextmsgd.jar

 

 

 

 

 

 

 

a.The Connext C/C++ libraries are located in $(NDDSHOME)/lib/<architecture>/. (where $(NDDSHOME) is where Connext is installed, such as /local/rti/ndds.5.x.y)

4

AIX Platforms

b.Transports (other than the default IP transport) such as StarFabric may require linking in additional libraries. For fur- ther details, see the online documentation or contact support@rti.com.

c.Use '-q32' if you build 32-bit code or '-q64' for 64-bit code.

d.The '-qthreaded' option is automatically set if you use one of the compilers that ends with ‘_r’, such as cc_r, xlc_r, xlC_r. See the IBM XLC reference manual for more information.

Table 2.3 Running Instructions for AIX Architectures

 

Library

 

RTI Architecture

Format

Required Environment Variables

(Release

 

 

 

& Debug)

 

 

 

 

64p7AIX7.1xlc12.1jdk

N/A

LIBPATH=$(NDDSHOME)/lib/<arch>: $(LIBPATH)a EXTSHM=ONb

All other supported

Static

EXTSHM=ONb

architectures

Dynamic

LIBPATH=$(NDDSHOME)/lib/<arch>: $(LIBPATH) EXTSHM=ONb

a.${NDDSHOME} represents the root directory of your Connext installation. ${LIBPATH} represents the value of the LIB- PATH variable prior to changing it to support Connext. When using nddsjava.jar, the Java virtual machine (JVM) will attempt to load release versions of the native libraries (nddsjava.so, nddscore.so, nddsc.so). When using nddsja- vad.jar, the JVM will attempt to load debug versions of the native libraries (nddsjava.so, nddscore.so, nddsc.so).

b.See Notes for Using Shared Memory (Section 2.2.1).

Table 2.4 Library-Creation Details for AIX Architectures

 

Library

 

RTI Architecture

Format

Compiler Flags Used by RTI a

 

(Static &

 

 

Dynamic)

 

 

 

 

 

 

-q32 -qlongdouble -qalias=noansi -qpic=large -qthreaded

 

Release

-D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__ -O -qflag=i:i

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=Power5+

 

 

p5AIX5.3xlc9.0

 

-DNDEBUG

 

 

-q32 -qlongdouble -qalias=noansi -qpic=large -qthreaded

 

Debug

-D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__ -O -qflag=i:i

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=Power5+ -g

 

 

 

 

 

-q64 -qwarn64 -qlongdouble -qalias=noansi -qpic=large -qthreaded

 

Release

-D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__ -O -qflag=i:i

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=Power5+

 

 

64p5AIX5.3xlc9.0

 

-DNDEBUG

 

 

-q64 -qwarn64 -qlongdouble -qalias=noansi -qpic=large -qthreaded

 

Debug

-D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__ -O -qflag=i:i

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=Power5+ -g

 

 

 

 

 

-q64 -qwarn64 -qlongdouble -qalias=noansi -qpic=large -qthreaded

 

Release

-D_POSIX_C_SOURCE=199506L -D EXTENSIONS -O -qflag=i:i

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=Power7+

 

 

64p7AIX7.1xlc12.1

 

-DNDEBUG

 

 

-q64 -qwarn64 qlongdouble -qalias=noansi -qpic=large -qthreaded

 

Debug

-D_POSIX_C_SOURCE=199506L -D EXTENSIONS -O -qflag=i:i

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=Power7+ -g

 

 

 

All supported AIX

Release

-target 1.4 -source 1.4

architectures for

 

 

Debug

-target 1.4 -source 1.4 -g

Java

 

 

 

 

 

a.Connext was built using the 'xlC_r' compiler. See IBM's XLC reference manual for a description of the different compil- ers. For a list of the additional settings (defined by default) for the 'xlC_r' compiler, see the file /etc/vac.cfg.53.

5

AIX Platforms

2.1Multicast Support

Multicast is supported on all AIX platforms and is configured out of the box. That is, the default value for the initial peers list (NDDS_DISCOVERY_PEERS) includes a multicast address. See the online documentation for more information.

2.2Supported Transports

Shared memory: Supported and enabled by default.

UDPv4: Supported and enabled by default.

UDPv6: Not supported.

TCP/IPv4: Not supported.

2.2.1Notes for Using Shared Memory

By default, the maximum number of shared memory segments you can use with AIX is quite small and limits the capability of Connext applications to work properly over shared memory. To increase the maximum number of shared memory segments an application can use, set the fol- lowing environment variable before invoking your Connext application:

EXTSHM=ON

This environment variable is not required if your application does not use the shared memory transport.

To see a list of shared memory resources in use, please use the 'ipcs' command. To clean up shared memory and shared semaphore resources, please use the 'ipcrm' command.

The shared memory keys used by Connext are in the range of 0x400000. For example:

ipcs -m | grep 0x004

The shared semaphore keys used by Connext are in the range of 0x800000; the shared mutex keys are in the range of 0xb00000. For example:

ipcs -s | grep 0x008 ipcs -s | grep 0x00b

Please refer to the shared-memory transport online documentation for details on the shared memory and semaphore keys used by Connext.

2.3Monotonic Clock Support

The monotonic clock (described in Section 8.6 in the RTI Core Libraries and Utilities User’s Manual) is not supported on AIX platforms.

2.4Thread Configuration

Table 2.5 lists the thread settings for AIX platforms.

Table 2.6 lists the thread-priority definitions for AIX platforms.

Table 2.5 Thread Settings for AIX Platforms

Applicable Thread

DDS_ThreadSettings_t

Platform-Specific Setting

 

 

 

 

mask

OS default thread type

 

 

 

Asynchronous Publisher,

priority

OS default thread priority

Asynchronous flushing

stack_size

4*192*1024

thread

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

6

 

 

 

 

AIX Platforms

 

Table 2.5 Thread Settings for AIX Platforms

 

 

 

 

 

 

 

 

 

 

Applicable Thread

DDS_ThreadSettings_t

 

Platform-Specific Setting

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mask

 

DDS_THREAD_SETTINGS_STDIO

 

 

 

 

 

 

 

 

 

priority

 

OS default thread priority

 

 

Database thread

 

 

 

 

 

stack_size

 

192*1024

 

 

 

 

 

 

 

 

 

cpu_list

 

CPU core affinity not supported

 

 

 

 

 

 

 

 

 

cpu_rotation

 

CPU core affinity not supported

 

 

 

 

 

 

 

 

 

mask

 

DDS_THREAD_SETTINGS_STDIO |

 

 

 

 

DDS_THREAD_SETTINGS_FLOATING_POINT

 

 

 

 

 

 

 

 

 

 

 

 

 

Event thread

priority

 

OS default thread priority

 

 

 

 

 

 

 

stack_size

 

4*192*1024

 

 

 

 

 

 

 

 

 

 

 

 

 

cpu_list

 

CPU core affinity not supported

 

 

 

 

 

 

 

 

 

cpu_rotation

 

CPU core affinity not supported

 

 

 

 

 

 

 

 

 

mask

 

DDS_THREAD_SETTINGS_STDIO |

 

 

 

 

DDS_THREAD_SETTINGS_FLOATING_POINT

 

 

 

 

 

 

 

 

 

 

 

 

 

ReceiverPool threads

priority

 

OS default thread priority

 

 

 

 

 

 

 

stack_size

 

4*192*1024

 

 

 

 

 

 

 

 

 

 

 

 

 

cpu_list

 

CPU core affinity not supported

 

 

 

 

 

 

 

 

 

cpu_rotation

 

CPU core affinity not supported

 

 

 

 

 

 

 

Table 2.6 Thread-Priority Definitions for AIX Platforms

 

 

 

 

 

 

 

 

 

Thread-Priority Definition

 

Operating-System Priority

 

 

 

 

 

 

 

 

 

 

THREAD_PRIORITY_DEFAULT

-9999999

 

 

 

 

 

 

THREAD_PRIORITY_HIGH

-9999999

 

 

 

 

 

 

THREAD_PRIORITY_ABOVE_NORMAL

-9999999

 

 

 

 

 

 

THREAD_PRIORITY_NORMAL

-9999999

 

 

 

 

 

 

THREAD_PRIORITY_BELOW_NORMAL

-9999999

 

 

 

 

 

 

THREAD_PRIORITY_LOW

-9999999

 

 

 

 

 

 

 

2.4.1Changing Thread Priority

Due to the AIX threading-model implementation, there are situations that require you to run your Connext application with root privileges:

For all APIs: Your application must have root privileges to use the thread option, DDS_THREAD_SETTINGS_REALTIME_PRIORITY, for the event and receiver pool thread QoS (DDS_DomainParticipantQos.event.thread, DDS_DomainParticipantQos.receiver- _pool.thread).

For the Java API only: Your application must have root privileges to change the event and receiver pool thread priorities (DDS_DomainParticipantQos.event.thread, DDS_DomainParticipantQos.receiver_pool.thread).

Table 2.7 Support for Controlling CPU Core Affinity for RTI Threads

Support for controlling CPU core affinity (described in Section 19.5 in the RTI Core Libraries and Utilities User’s Manual) is not available for AIX platforms.

7

INTEGRITY Platforms

2.5Durable Writer History and Durable Reader State Features

The Durable Writer History and Durable Reader State features are not supported on AIX plat- forms.

3

INTEGRITY Platforms

 

 

 

 

Table 3.1 lists the architectures supported on the INTEGRITY® operating system.

Table 3.1 Supported INTEGRITY Target Platformsa

 

 

 

Operating

CPU

Compiler

IP Stack

RTI Architecture Abbreviation

 

System

 

 

 

 

 

 

 

 

 

 

 

 

INTEGRITY 5.0.11

PPC 85XX

Multi 4.2.4

GHnet2 IP stackb

ppc85xxInty5.0.11.xes-p2020

 

 

p4080

 

 

p4080Integrity10.0.2.xes-p4080-smpd

 

c

(based on

Multi 6.1

GHNet2 v2

 

INTEGRITY 10.0.2

e500mc core)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x86

Multi 5.0.6

CHNet IPv4 stack

pentiumInty10.0.2.pcx86

 

 

 

 

 

 

a.For use with Windows and Solaris hosts, as supported by Green Hills Software.

b.Kernel must be built using -lip4 or -lip46.

c.Requires patch_6901.iff from Green Hills Software when building a Connext application. (Patch not required to run the application.)

d.Only C and C++ APIs are supported.

Table 3.3 lists the compiler flags and the libraries you will need to link into your application.

Table 3.2 provides details on the environment variables that must be set at run time for an INTEGRITY architecture.

Table 3.4 provides details on how the libraries were built. This table is provided strictly for infor- mational purposes; you do not need to use these parameters to compile your application. You may find this information useful if you are involved in any in-depth debugging.

Table 3.2 Running Instructions for INTEGRITY Architectures

RTI Architecture

Required Environment Variables

 

 

All INTEGRITY architectures

None

 

 

3.1Patch Required for INTEGRITY 10.02 Platform

To run a Connext application on an INTEGRITY 10.0.2 system, you must install patch_6901.iff from Green Hills Software. For more information, please contact your Green Hills Software rep- resentative.

3.2Support for Request-Reply Communication Pattern

RTI Connext Messaging includes support for the Request-Reply Communication Pattern for the platforms described in Table 3.1 and all programming languages, except as noted below.

When using C++, the following platform does not support the Request-Reply Communication Pattern:

ppc85xxInty5.0.11.xes-p2020

p4080Integrity10.0.2.xes-p4080-smp

8

INTEGRITY Platforms

Table 3.3 Building Instructions for INTEGRITY Architectures

API

Library

Required RTI Libraries

a

Required

Required

Format

 

System Librariesb

Compiler Flags

 

 

 

 

 

 

 

 

libnddscppz.a

 

 

 

 

 

libnddscz.a

 

 

 

 

Static Release

libnddscorez.a

 

 

 

 

 

For Connext Messaging, also include:

 

 

 

 

librticonnextmsgcppz.a

 

 

 

 

 

 

 

 

 

 

 

libnddscppzd.a

 

 

 

C++

 

libnddsczd.a

 

 

 

 

 

libnddscorezd.a

 

 

 

 

Static Debug

(libnddscppzd.dba)c

 

 

 

 

(libnddsczd.dba)c

 

 

 

 

 

(libnddscorezd.dba)c

 

libsocket.a

RTI_INTY

 

 

For Connext Messaging, also include:

 

 

libnet.a

 

 

--exceptions

 

 

librticonnextmsgcppzd.a

 

libposix.a

 

 

 

 

 

 

libnddscz.a

 

 

 

 

Static Release

libnddscorez.a

 

 

 

 

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgcz.a

 

 

 

 

 

 

 

 

 

C

 

libnddsczd.a

 

 

 

 

libnddscorezd.a

 

 

 

 

 

 

 

 

 

Static Debug

(libnddsczd.dba)c

 

 

 

 

(libnddscorezd.dba)c

 

 

 

 

 

For Connext Messaging, also include:

 

 

 

 

librticonnextmsgczd.a

 

 

 

 

 

 

 

 

 

a.The Connext C/C++ libraries are located in $(NDDSHOME)/lib/<architecture>/. (where $(NDDSHOME) is where Connext is installed, such as /local/rti/ndds.5.x.y)

b.Transports (other than the default IP transport) such as StarFabric may require linking in additional libraries. For fur- ther details, see the online documentation or contact support@rti.com.

c.The *.dba files contain the debugging information. You can link without these, as long as they are located in the same directory as the matching *d.a file (so that the MULTI® IDE can find the debug information).

Table 3.4 Library-Creation Details for INTEGRITY Architectures

RTI Architecture

Library

Compiler Flags Used by RTI

Format

 

 

 

 

 

 

 

-bsp=xes-p4080-smp -prefixed_msgs

 

Static

--unknown_pragma_silent --link_once_templates

 

Release

-fexceptions -O -DPtrIntType=long

p4080Integrity10.0.2.xes-

 

-DCSREAL_IS_FLOAT -DCPU=p4080 -DNDEBUG

p4080-smp

 

-bsp=xes-p4080-smp -prefixed_msgs

 

Static

--unknown_pragma_silent --link_once_templates

 

Debug

-fexceptions -G -DPtrIntType=long

 

 

-DCSREAL_IS_FLOAT -DCPU=p4080

 

 

 

 

Static

-bspname=pcx86 -prefixed_msgs --unknown_pragma_silent -G

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=

 

Release

 

-DTARGET=\"pentiumInty10.0.2.pcx86\" -DNDEBUG -c

pentiumInty10.0.2.pcx86

 

 

 

Static

-bspname=pcx86 -prefixed_msgs --unknown_pragma_silent -G

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=

 

Debug

 

-DTARGET=\"pentiumInty10.0.2.pcx86\" -c

 

 

 

 

 

9

 

 

 

INTEGRITY Platforms

Table 3.4 Library-Creation Details for INTEGRITY Architectures

 

 

 

 

 

RTI Architecture

Library

Compiler Flags Used by RTI

 

Format

 

 

 

 

 

 

 

 

 

Static

-bspname=xes-p2020 -prefixed_msgs --unknown_pragma_silent

 

 

-G -DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=

 

 

Release

 

 

-DTARGET=\"ppc85xxInty5.0.11.xes-p2020\" -DNDEBUG -c

 

ppc85xxInty5.0.11.xes-p2020

 

 

 

 

 

Static

-bspname=xes-p2020 -prefixed_msgs --unknown_pragma_silent

 

 

 

 

-G -DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=

 

 

Debug

 

 

-DTARGET=\"ppc85xxInty5.0.11.xes-p2020\" -c

 

 

 

 

 

 

 

3.3Diagnostics on INTEGRITY Systems

Connext libraries for the INTEGRITY platforms use consolestring(), which prints debugging information to the serial console when available. Using the serial console as opposed to the tar- get I/O window (host I/O) is generally recommended. Host I/O will affect the real-time perfor- mance of the target. For more information on consolestring(), please refer to the INTEGRITY Development Guide.

3.4Running over IP Backplane on a Dy4 Champ-AVII Board

Connext can run on all four CPUs, provided the following hold true:

Connext applications on CPUs B, C and D only exchange data with applications on a dif- ferent CPU or off-board.

The IP backplane and associated routing has been properly configured. Connext has been tested with the following libraries built into the INTEGRITY kernel: debug, res, load, socket, itcpip, lbp, queue, ifbp, idb, bsl.

3.5Multi-NIC Support on INTEGRITY 5.0

Due to limitations with the API of the InterPeak stack for INTEGRITY 5.0, Connext only supports a single NIC when the InterPeak stack is used. This NIC must be called “eth0”. By default on an INTEGRITY system, this will correspond to the first network card, which can be changed by reconfiguring the kernel. This limitation does not affect the InterNiche stack.

3.6Multicast Support

Multicast is supported on all INTEGRITY 5.0 and 10.0 platforms.

3.7Supported Transports

Shared memory: Supported, enabled by default. To clean up shared memory resources, reboot the kernel.

UDPv4: Supported, enabled by default.

UDPv6: Not supported.

TCP/IPv4: Not supported.

3.8Out-of-the-box Transport Compatibility with Other Connext Platforms

Due to some default kernel parameters on INTEGRITY platforms, the default value for message_size_max for the UDPv4 transport, and the default values for message_size_max, received_message_count_max, and recv_buffer_size for the shared-memory transport, are dif- ferent than those for other platforms. This will cause out-of-the-box compatibility issues that may result in lack of communication. For more information on transport incompatibility, see Section 2.5, Transport Compatibility, in the RTI Core Libraries and Utilities Release Notes. The mis-

10

INTEGRITY Platforms

match in transport configuration between INTEGRITY and other platforms applies to Connext 5.1.0 and higher.

To address the compatibility issues, you can change the default transport settings of other plat- forms to match those of the INTEGRITY platform. Alternatively, you can update the INTEG- RITY kernel parameters as described below so that the INTEGRITY platform will support larger transport settings.

The directive, GM_IP_FRAG_ENTRY_MAX_SIZE, limits the size of UDP packets that can be sent and received by INTEGRITY platforms. For details on this directive, please see Section 5.4.2 in the networking.pdf manual provided with the INTEGRITY kernel. The default value of GM_IP_FRAG_ENTRY_MAX_SIZE is 9216 bytes (not 16,000 bytes as is stated in the INTEG- RITY documentation), which is why the default message_size_max for all transports supported for INTEGRITY is 9216 bytes.

If you want to send UDP messages larger than 9k, you must increase the value of GM_IP_FRAG_ENTRY_MAX_SIZE and rebuild the kernel. (You may also have to reconfigure other kernel parameters such as the socket, stack, and heap sizes to accommodate the larger value for GM_IP_FRAG_ENTRY_MAX_SIZE.) Failing to increase this value will cause failures when sending large UDP packets, and in some cases (for example with the 5.0.11 kernel) the sendto() call will fail silently.

3.8.1Smaller Shared-Memory Receive-Resource Queue Size

INTEGRITY's shared-memory pluggable transport uses the shared-memory POSIX API. This API is part of the standard INTEGRITY distribution and is shipped as a library. The current ver- sion (5.0.4) of this library uses a hard-coded value for the total amount of memory that can be shared with an address space. This limits the overall buffer space that can be used by the DomainParticipants within the same address space to communicate over shared memory with other DomainParticipants.

To allow more DomainParticipants to run within the same address space, we reduced the default size of the queue for each receive resource of the shared memory transport. The queue size is reduced to eight messages (the default for other platforms is 32). This change only applies to INTEGRITY architectures and this default value can be overwritten through the shared memory transport QoS.

3.8.2Using Shared Memory on INTEGRITY Systems

Connext uses the single address-space POSIX library to implement the shared-memory transport on INTEGRITY 10.0 operating systems.

To use shared-memory, you must configure your system to include the POSIX shared-memory library. The posix_shm_manager must be running in an "AddressSpace" solely dedicated to it. After building any Connext application that uses shared memory, you must use the intex utility (provided with the INTEGRITY development environment) to pack the application with multi- ple address-spaces: one (or more) to contain the Connext application(s), and another one to con- tain the posix_shm_manager.

Connext will run on a target without the posix_shm_manager, but the POSIX functions will fail and return ENOSYS, and the participants will fail to communicate through shared memory.

To include the POSIX Shared-Memory Manager in its own Address Space:

The project files generated by rtiddsgen for MULTI will create the shared-memory manager for you. Please follow these steps:

1.Specify the path to your INTEGRITY distribution in the _default.gpj top-level project file by adding the following line (modify it according to the path to your INTEGRITY distri- bution):

11

INTEGRITY Platforms

-os_dir=/local/applications/integrity/integrity-10.0.2

2.Build the project.

3.Before running your Connext application on a target, download the posix_shm_manager file (generated by the build) onto the target.

The POSIX Shared Memory Manager will start automatically after the download and your applications will be able to use shared memory.

Notes:

Only one posix_shm_manager is needed on a particular target. INTEGRITY offers the option of building this posix_shm_manager inside the kernel. Please refer to the INTEG- RITY documentation.

If you are already using shared memory through the POSIX library, there may be a possi- ble conflict.

INTEGRITY 5 has two different types of POSIX library: a single-address space one (or 'light') and another one (complete POSIX implementation). Connext uses the first one, but will work if you are using the complete POSIX implementation.

3.8.3Shared Memory Limitations on INTEGRITY Systems

If several applications are running on the same INTEGRITY node and are using shared memory, once an application is stopped, it cannot be restarted. When the application is stopped (grace- fully or ungracefully), any new application on the same domain index within the same domain will fail to start until the shared memory manager is also restarted.

Additionally, if the application is stopped ungracefully, the remaining applications will print several error messages such as the following until Connext purges the stopped application from its database:

Resource Manager send error = 0x9

This error message is logged from INTEGRITY’s POSIX shared memory manager, not from Con- next. The error message is benign and will not prevent the remaining applications from commu- nicating with each other or with application on other nodes.

The workaround is to either restart the stopped application with a different participant index or shut down all the other applications and the shared memory manager, then restart everything.

3.9Using rtiddsping and rtiddsspy on PowerPC INTEGRITY Systems

While the RTI libraries for INTEGRITY can be used with any BSP, providing the PowerPC pro- cessor falls under the same category (for example, the ppc7400... RTI libraries can be used on any target with a PPC74xx processor), rtiddsping and rtiddsspy are provided as executables, and therefore are BSP-dependent. You will not be able to run them successfully on your target if it is not compatible with the BSP listed in the architecture name (such as mvme5100-7400). Please refer to your hardware documentation for peripheral compatibility across BSPs.

3.10Monotonic Clock Support

The monotonic clock (described in Section 8.6 in the RTI Core Libraries and Utilities User’s Manual) is not supported.

3.11Thread Configuration

Table 3.5 lists the thread settings for INTEGRITY platforms.

Table 3.6 and Table 3.7 list the thread-priority definitions. Table 3.6 applies to all INTEGRITY platforms except INTEGRITY 10.02. Table 3.7 applies to INTEGRITY 10.02 only.

12

 

 

 

INTEGRITY Platforms

 

Table 3.5 Thread Settings for INTEGRITY Platforms

 

 

 

 

 

 

 

 

Applicable Thread

DDS_ThreadSettings_t

Platform-Specific Setting

 

 

 

 

 

 

 

 

 

 

 

 

 

mask

OS default thread type

 

 

 

 

 

 

 

Asynchronous Publisher,

priority

80

 

 

 

 

 

 

Asynchronous flushing thread,

stack_size

4*20*1024

 

 

ReceiverPool threads

 

 

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

 

 

 

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

 

 

 

 

 

mask

DDS_THREAD_SETTINGS_STDIO

 

 

 

 

 

 

 

 

priority

60

 

 

 

1 (INTEGRITY 10.0.2 only)

 

 

Database thread

 

 

 

 

 

 

 

stack_size

20*1024

 

 

 

 

 

 

 

 

 

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

 

 

 

 

 

 

DDS_THREAD_SETTINGS_STDIO |

 

 

 

mask

DDS_THREAD_SETTINGS_FLOATING_PO

 

 

 

 

INT

 

 

 

 

 

 

 

Event thread

priority

80

 

 

 

 

 

 

 

stack_size

4*20*1024

 

 

 

 

 

 

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

 

 

 

 

 

 

DDS_THREAD_SETTINGS_STDIO |

 

 

 

mask

DDS_THREAD_SETTINGS_FLOATING_PO

 

 

 

 

INT

 

 

 

 

 

 

 

ReceiverPool threads

priority

100

 

 

 

 

 

 

 

stack_size

4*20*1024

 

 

 

 

 

 

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

 

 

 

Table 3.6 Thread-Priority Definitions for INTEGRITY Platforms (Except 10.02)

 

Thread-Priority Definition

Operating-System Priority

 

 

 

 

 

 

 

THREAD_PRIORITY_DEFAULT

16

 

 

 

 

THREAD_PRIORITY_HIGH

120

 

 

 

 

THREAD_PRIORITY_ABOVE_NORMAL

100

 

 

 

 

THREAD_PRIORITY_NORMAL

90

 

 

 

 

THREAD_PRIORITY_BELOW_NORMAL

80

 

 

 

 

THREAD_PRIORITY_LOW

60

 

 

 

Table 3.7 Thread-Priority Definitions for INTEGRITY 10.02 Platforms

 

 

 

 

Thread Priority Definitions

Operating System Priority

 

 

 

 

 

 

 

THREAD_PRIORITY_DEFAULT

127

 

 

 

 

THREAD_PRIORITY_HIGH

127

 

 

 

 

THREAD_PRIORITY_ABOVE_NORMAL

100

 

 

 

 

THREAD_PRIORITY_NORMAL

90

 

 

 

 

THREAD_PRIORITY_BELOW_NORMAL

80

 

 

 

13

INTEGRITY Platforms

Table 3.7 Thread-Priority Definitions for INTEGRITY 10.02 Platforms

Thread Priority Definitions

Operating System Priority

 

 

 

 

THREAD_PRIORITY_LOW

1

 

 

3.11.1Socket-Enabled and POSIX-Enabled Threads are Required

On INTEGRITY platforms, Connext internally relies on the POSIX API for many of its system calls. As a result, any thread calling Connext must be POSIX-enabled. By default, the 'Initial' thread of an address space is POSIX-enabled, provided the address space has been linked with libposix.a. Additional user threads that call Connext must be spawned from the Initial thread using pthread_create. Only then is the created thread also POSIX-enabled. Note that tasks cre- ated at build time using the Integrate utility are not POSIX-enabled.

Furthermore, threads calling Connext must be socket-enabled. This can be achieved by calling InitLibSocket() before making any Connext calls and calling ShutdownLibSocket before the thread terminates. Note that an Initial thread is, by default, socket-enabled when the address space is linked with libsocket.a. Please refer to the INTEGRITY Development Guide for more information.

3.11.2Support for Controlling CPU Core Affinity for RTI Threads

Support for controlling CPU core affinity (described in Section 19.5 in the RTI Core Libraries and Utilities User’s Manual) is not available for INTEGRITY platforms.

3.12Durable Writer History and Durable Reader State Features

The Durable Writer History and Durable Reader State features are not supported on INTEG- RITY platforms.

3.13Issues with INTEGRITY Systems

3.13.1Delay When Writing to Unreachable Peers

On INTEGRITY systems, if a publishing application’s initial peers list includes a nonexistent (or simply unreachable) host, calls to write() may block for approximately 1 second.

This long block is caused by the stack trying to resolve the invalid/unreachable host. Most IP stacks do not block the sending thread because of this reason, and you may include invalid/ unreachable hosts in your initial-peers list. If you find that your stack does block the sending thread, please consult your IP stack vendor on how to change its behavior. [RTI Issue ID CORE- 1637, Bug # 10768]

3.13.2Linking with ‘libivfs.a’ without a File System

If you link your application with libivfs.a and are using a system that does not have a file sys- tem, you may notice the application blocks for 2 seconds at start-up.

14

Linux and Fedora Platforms

3.13.3Compiler Warnings Regarding Unrecognized #pragma Directives

Building Connext projects for INTEGRITY causes the compiler to produce several warnings about #pragma directives not recognized in some Connext header files. For example:

Building default.bld "C:/ndds/ndds.4.4x/include/ndds/dds_c/dds_c_infrastructure.h", line 926: warning: unrecognized #pragma

#pragma warning(push)

^

"C:/ndds/ndds.4.4x/include/ndds/dds_c/dds_c_infrastructure.h", line 927: warning: unrecognized #pragma

#pragma warning(disable:4190)

^

"C:/ndds/ndds.4.4x/include/ndds/dds_c/dds_c_infrastructure.h", line 945: warning: unrecognized #pragma

#pragma warning(pop)

^

These warnings do not compromise the final application produced and can be safely ignored.

3.13.4Warning when Loading Connext Applications on INTEGRITY Systems

When a Connext application compiled with the rtiddsgen-generated project files is loaded on an INTEGRITY 5.0.x target, the following warning appears:

"Warning: Program is linked with libc.so POSIX signals and cancellation will not work."

The Connext libraries do not use the additional features provided by the full POSIX implementa- tion, therefore the warning can safely be ignored. This warning is due to the fact that the rtidds- gen-generated project files use the Single AddressSpace POSIX library by default, not the full POSIX implementation on INTEGRITY (POSIX System). The Connext libraries only require Sin- gle AddressSpace POSIX to function correctly, but will still work if you are using the POSIX Sys- tem. The message indicates that items such as inter-process signaling or process-shared semaphores will not be available (more information can be found in the INTEGRITY Libraries and Utilities User's Guide, chapter "Introduction to POSIX on INTEGRITY").

4 Linux and Fedora Platforms

First, see the basic instructions for compiling on Linux platforms provided in Section 9.3 in the RTI Core Libraries and Utilities User’s Manual. The following tables provide supplemental infor- mation.

Table 4.1 through Table 4.4 list the supported Linux and Fedora architectures.

Table 4.1 Linux Platforms on ARM CPUs

Operating System

CPU

Compiler

RTI Architecture

Abbreviation

 

 

 

 

 

 

 

 

 

 

 

 

 

gcc 4.7.2a

armv6vfphLinux3.xgcc4.7.2

Raspbian Wheezy 7.0 (3.x kernel)

ARMv6

Java Platform, Standard Edition

armv6vfphLinux3.xgcc4.7.2jdk

 

 

JDK 1.7

 

 

 

 

 

 

 

a. Requires Linaro Gnueabihf Cross Compiler

 

 

15

Linux and Fedora Platforms

Table 4.2 Linux Platforms on Cell BE CPUs

Operating System

CPU

Compiler

RTI Architecture

Abbreviation

 

 

 

 

 

 

 

 

 

 

 

Fedora 12 (2.6.32 kernel)

Cell BE

gcc 4.5.1a, glib 2.9

cell64Linux2.6gcc4.5.1

Available upon request only.

 

 

 

 

 

 

 

a. Requires a custom version of gcc 4.5.1.

Table 4.3 Linux Platforms on Intel CPUs

Operating System

CPU

Compiler

RTI Architecture

Abbreviation

 

 

 

 

 

 

 

 

x86

gcc 4.1.2

i86Linux2.6gcc4.1.2

 

 

 

CentOS 5.4, 5.5 (2.6 kernel)

Java Platform, Standard Edition JDK 1.7

i86Linux2.6gcc4.1.2jdk

 

 

 

 

x64

gcc 4.1.2

x64Linux2.6gcc4.1.2

 

 

 

 

 

Java Platform, Standard Edition JDK 1.7

x64Linux2.6gcc4.1.2jdk

 

 

 

 

 

 

 

x86

gcc 4.4.5

i86Linux2.6gcc4.4.5

 

 

 

CentOS 6.0, 6.2-6.4 (2.6 kernel)

Java Platform, Standard Edition JDK 1.7

i86Linux2.6gcc4.4.5jdk

 

 

 

 

x64

gcc 4.4.5

x64Linux2.6gcc4.4.5

 

 

 

 

 

Java Platform, Standard Edition JDK 1.7

x64Linux2.6gcc4.4.5jdk

 

 

 

 

 

 

Fedora 12 (2.6.32 kernel)

x64

gcc 4.4.4

x64Linux2.6gcc4.4.4

 

 

 

 

Fedora 12 (2.6.32 kernel) with

x64

gcc 4.5.1a

x64Linux2.6gcc4.5.1

gcc 4.5.1

 

 

 

 

 

 

 

Red Hat Enterprise Linux 4.0

x86

gcc 3.4.3

i86Linux2.6gcc3.4.3

(2.6 kernel)

x64

gcc 3.4.5

x64Linux2.6gcc3.4.5

 

 

 

 

 

x86

gcc 4.1.1

i86Linux2.6gcc4.1.1

 

 

 

Red Hat Enterprise Linux 5.0

Java Platform, Standard Edition JDK 1.7

i86Linux2.6gcc4.1.1jdk

 

(2.6 kernel)

x64

gcc 4.1.1

x64Linux2.6gcc4.1.1

 

 

 

 

Java Platform, Standard Edition JDK 1.7

x64Linux2.6gcc4.1.1jdk

 

 

 

 

 

 

 

x86

gcc 4.1.2

i86Linux2.6gcc4.1.2

 

 

 

Red Hat Enterprise Linux 5.1,

Java Platform, Standard Edition JDK 1.7

i86Linux2.6gcc4.1.2jdk

 

5.2, 5.4, 5.5 (2.6 kernel)

x64

gcc 4.1.2

x64Linux2.6gcc4.1.2

 

 

 

 

Java Platform, Standard Edition JDK 1.7

x64Linux2.6gcc4.1.2jdk

 

 

 

 

 

 

Red Hat Enterprise Linux 5.2

 

gcc 4.1.2

i86Linux2.6gcc4.1.2

with Real-Time Extensions (2.6

x86

 

 

Java Platform, Standard Edition JDK 1.7

i86Linux2.6gcc4.1.2jdk

kernel)

 

 

 

 

 

 

 

 

 

x86

gcc 4.4.5

i86Linux2.6gcc4.4.5

 

 

 

Red Hat Enterprise Linux 6.0-

Java Platform, Standard Edition JDK 1.7

i86Linux2.6gcc4.4.5jdk

 

6.4 (2.6 kernel)

x64

gcc 4.4.5

x64Linux2.6gcc4.4.5

 

 

 

 

Java Platform, Standard Edition JDK 1.7

x64Linux2.6gcc4.4.5jdk

 

 

 

 

 

 

SUSE Linux Enterprise Server

x64

gcc 4.3.4

x64Linux2.6gcc4.3.4

11 SP2 (2.6 kernel)

Java Platform, Standard Edition JDK 1.7

x64Linux2.6gcc4.3.4jdk

 

 

 

 

 

SUSE Linux Enterprise Server

x86

gcc 4.3.4

i86Linux3gcc4.3.4

11 SP2 (3.x kernel)

Java Platform, Standard Edition JDK 1.7

i86Linux3gcc4.3.4jdk

 

 

 

 

 

16

 

 

 

Linux and Fedora Platforms

Table 4.3 Linux Platforms on Intel CPUs

 

 

 

 

 

 

 

 

Operating System

CPU

Compiler

RTI Architecture

 

Abbreviation

 

 

 

 

 

 

 

 

 

 

 

x86

gcc 4.6.3

i86Linux3.xgcc4.4.3

 

 

 

 

 

Ubuntu Server 12.04 LTS

Java Platform, Standard Edition JDK 1.7

i86Linux3.xgcc4.6.3jdk

 

 

 

 

 

 

 

x64

gcc 4.6.3

x64Linux3.xgcc4.6.3

 

 

 

 

 

 

 

 

Java Platform, Standard Edition JDK 1.7

x64Linux3.xgcc4.6.3jdk

 

 

 

 

 

 

 

 

 

Wind River Linux 4 (2.6 kernel)

x64

gcc 4.4.1

x64WRLinux2.6gcc4.4.1

 

 

 

 

 

a. Requires a custom version of gcc 4.5.1.

Table 4.4 Linux Platforms on PowerPC CPUs

Operating System

CPU

Compiler

RTI Architecture

Abbreviation

 

 

 

 

 

 

 

 

 

 

 

Freescale P2020RDB

PPC 85xx

Freescale gcc.4.3.74 based

ppc85xxLinux2.6gcc4.3.2

(2.6.32 kernel)

 

on gcc.4.3.2

 

SELinux (2.6.32 kernel)

PPC 4xxFP

gcc 4.5.1, glibc 2.9

ppc4xxFPLinux2.6gcc4.5.1

 

 

 

 

Wind River Linux 3

PPC 85xx

gcc 4.3.2

ppc85xxWRLinux2.6gcc4.3.2

 

 

 

 

Yellow Dog® Linux 4.0

PPC 74xx (such

gcc 3.3.3

ppc7400Linux2.6gcc3.3.3

(2.6 kernel)

as 7410)

 

 

 

 

 

 

Table 4.5 lists the compiler flags and libraries you will need to link into your application. See also: Monotonic Clock Support (Section 4.3).

Table 4.6 provides details on the environment variables that must be set at run time for a Linux architecture. When running on 64-bit Java architectures (x64Linux2.6...jdk), use the -d64 flag on the command-line.

Table 4.7 provides details on how the Linux libraries were built. This table is provided strictly for informational purposes; you do not need to use these parameters to compile your applica- tion. You may find this information useful if you are involved in any in-depth debugging.

Table 4.8 through Table 4.10 list additional libraries required when using the optional RTI Secure WAN Transport and RTI TCP Transport, respectively.

4.1Multicast Support

Multicast is supported on all Linux and Fedora platforms and is configured out of the box. That is, the default value for the initial peers list (NDDS_DISCOVERY_PEERS) includes a multicast address. See the online documentation for more information.

4.2Supported Transports

Shared memory: Supported and enabled by default. To clean up shared memory resources, reboot the kernel.

UDPv4: Supported and enabled by default.

UDPv6: Supported for all platforms listed in Table 4.2 through Table 4.4 except SELinux 2.6.32 kernel (ppc4xxFPLinux2.6gcc4.5.1) and Raspbian Wheezy 7.0 (armv6vfphLinux3.xgcc4.7.2).

The UDPv6 transport is not enabled by default, and the peers list must be modified to sup- port IPv6.

Note: Traffic Class support is only provided on architectures with gcc 4.1.0 or later that sup- port the UDPv6 transport.

17

Linux and Fedora Platforms

TCP/IPv4: Supported on CentOS 5.4 and higher, Red Hat Enterprise Linux 5.0 and higher (except Red Hat Enterprise Linux 5.2 with Real-Time Extensions), and Ubuntu Server 10.04. (This is not a built-in transport.)

4.2.1Shared Memory Support

To see a list of shared memory resources in use, please use the 'ipcs' command. To clean up shared memory and shared semaphore resources, please use the 'ipcrm' command.

The shared memory keys used by Connext are in the range of 0x400000. For example:

ipcs -m | grep 0x004

The shared semaphore keys used by Connext are in the range of 0x800000; the shared mutex keys are in the range of 0xb00000. For example:

ipcs -s | grep 0x008 ipcs -s | grep 0x00b

Please refer to the shared-memory transport online documentation for details on the shared memory and semaphore keys used by Connext.

4.3Monotonic Clock Support

The monotonic clock (described in Section 8.6 in the RTI Core Libraries and Utilities User’s Manual) is supported on platforms with all Linux 2.6 kernel or higher.

4.4Thread Configuration

Table 4.11 lists the thread settings for Linux and Fedora platforms.

Table 4.12 and Table 4.13 list the thread-priority definitions and thread kinds, respectively.

4.4.1Native POSIX Thread Library (NPTL) Requirements

This section applies only to these platforms:

Red Hat Enterprise Linux 4.0: i86Linux2.6gcc3.4.3 and x64Linux2.6gcc3.4.5

Yellow Dog Linux 4.0: ppc7400Linux2.6gcc3.3.3

To use the above platforms, you must have the development version of Native POSIX Thread Library (NPTL) installed on your host system and the NPTL libraries on your target system.

When you build the application, you must have the development NPTL library installed in /usr/lib/nptl. This library is not installed by default.

To see if your system has NPTL installed, look for this directory: /usr/lib/nptl. It should contain these files: libpthread.so and libpthread.a.

If NPTL is not installed, you will need to install a package that includes it, such as nptl- devel. This package is not typically part of a default installation. You can find it either in your original Linux installation media (CD/DVD) or, if you have upgraded your system, through the distribution's update site.

When you run the application, it will automatically use the default NPTL library in /lib/ nptl. You do not need the development library installed on the target system.

Note: Make sure the environment variable LD_ASSUME_KERNEL is either not defined at all, or is set to 2.4.20 or higher. The middleware will not run if it is set to less than 2.4.20.1

1.The dynamic loader (ld), is configured by default to load the NPTL library, as long as LD_ASSUME_KERNEL is NOT defined.

18

Linux and Fedora Platforms

4.4.2Support for Controlling CPU Core Affinity for RTI Threads

Support for controlling CPU core affinity (described in Section 19.5 in the RTI Core Libraries and Utilities User’s Manual) is available on all supported Linux, SUSE, and Fedora platforms.

Note: The API for controlling CPU core affinity may change in future releases.

4.5Durable Writer History and Durable Reader State Features

To use the Durable Writer History and Durable Reader State features, you must install a rela- tional database such as MySQL.

In principle, you can use any database that provides an ODBC driver, since ODBC is a standard. How- ever, not all ODBC databases support the same feature set. Therefore, there is no guarantee that the persistent durability features will work with an arbitrary ODBC driver.

We have tested the following driver: MySQL ODBC 5.1.44.

Note: Starting with 4.5e, support for the TimesTen database has been removed.

To use MySQL, you also need MySQL ODBC 5.1.6 (or higher) and UnixODBC 2.2.12 (or higher).

The Durable Writer History and Durable Reader State features have been tested with the follow- ing Linux architectures:

i86Linux2.6gcc4.1.1

i86Linux2.6gcc4.6.3

x64Linux2.6gcc4.1.1

x64Linux2.6gcc4.6.3

For more information on database setup, please see the Addendum for Database Setup1.

4.6Libraries Required for Using RTI Secure WAN Transport APIs

This section is only relevant if you have installed RTI Secure WAN Transport. This feature is not part of the RTI Core Libraries and Utilities. If you choose to use it, it must be downloaded and installed separately. It is only available on specific architectures. See the RTI Secure WAN Trans- port Release Notes and RTI Secure WAN Transport Release Notes Installation Guide for details.

To use the WAN or Secure Transport APIs, link against the additional libraries from Table 4.8 on page 24. (Select the files appropriate for your chosen library format.)

4.7Libraries Required for Using RTI TCP Transport APIs

To use the TCP Transport APIs, link against the additional libraries from Table 4.9 on page 24. If you are using RTI TLS Support, see Table 4.10 on page 25. (Select the files appropriate for your chosen library format.)

1. RTI_CoreLibrariesAndUtilities_GettingStarted_DatabaseAddendum.pdf

19

Linux and Fedora Platforms

Table 4.5 Building Instructions for Linux and Fedora Architectures

 

Library

Required

Required

Required

API

RTI Libraries or

Format

System Libraries

Compiler Flags

 

Jar Filesa

 

 

 

 

 

 

 

libnddscppz.a

 

 

 

Static

libnddscz.a

 

 

 

libnddscorez.a

 

 

 

Release

 

 

 

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgcz.a

 

 

 

 

 

For all *Linux2.6gcc3*

 

 

 

libnddscppzd.a

 

 

Static

libnddsczd.a

architectures:

 

 

libnddscorezd.a

-ldl -lnsl -lm

 

 

Debug

64-bit architectures:

 

For Connext Messaging, also include:

-L/usr/lib/nptl

 

 

-DRTI_UNIX -m64

 

 

librticonnextmsgcppzd.a

-lpthread -lrt

C++

 

 

 

 

 

 

 

libnddscpp.so

 

32-bit architectures:

 

 

 

 

 

libnddsc.so

All other Linux

 

Dynamic

-DRTI_UNIX -m32

 

libnddscore.so

architectures:

 

Release

 

 

For Connext Messaging, also include:

-ldl -lnsl -lm

 

 

 

 

 

 

librticonnextmsgcpp.so

-lpthread -lrt

 

 

 

 

 

 

 

 

libnddscppd.so

 

 

 

Dynamic

libnddscd.so

 

 

 

libnddscored.so

 

 

 

Debug

 

 

 

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgcppd.so

 

 

 

 

 

 

 

 

 

libnddscz.a

 

 

 

Static

libnddscorez.a

 

 

 

Release

For Connext Messaging, also include:

 

 

 

 

librticonnextmsgcz.a

For all *Linux2.6gcc3*

 

 

 

 

 

 

 

libnddsczd.a

architectures:

 

 

Static

libnddscorezd.a

-ldl -lnsl -lm

64-bit architectures:

 

Debug

For Connext Messaging, also include:

-L/usr/lib/nptl

 

-DRTI_UNIX -m64

 

 

librticonnextmsgczd.a

-lpthread -lrt

C

 

 

 

 

 

 

 

libnddsc.so

 

32-bit architectures:

 

 

 

 

Dynamic

libnddscore.so

All other Linux

 

-DRTI_UNIX -m32

 

Release

For Connext Messaging, also include:

architectures:

 

 

 

 

librticonnextmsgc.so

-ldl -lnsl -lm

 

 

 

 

-lpthread -lrt

 

 

 

libnddscd.so

 

 

 

 

 

 

Dynamic

libnddscored.so

 

 

 

Debug

For Connext Messaging, also include:

 

 

 

 

librticonnextmsgcd.so

 

 

 

 

 

 

 

 

 

nddsjava.jar

 

 

 

Release

For Connext Messaging, also include:

 

 

Java

 

rticonnextmsg.jar

N/A

None required

 

 

 

nddsjavad.jar

 

 

 

 

 

Debug

For Connext Messaging, also include:

 

 

 

 

rticonnextmsgd.jar

 

 

 

 

 

 

 

a.RTI C/C++ libraries are in $(NDDSHOME)/lib/<architecture>/. RTI Java files are in $(NDDSHOME)/class/ (where $(NDDSHOME) is where Connext is installed, such as /local/rti/ndds.5.x.y).

20

 

 

 

Linux and Fedora Platforms

 

Table 4.6 Running Instructions for Linux and Fedora Architectures

 

 

 

 

 

 

 

RTI Architecture

Library Format

Environment Variables

 

 

 

 

 

 

 

 

 

 

 

 

All supported Linux/

 

LD_LIBRARY_PATH= ${NDDSHOME}/lib/<architecture>:

 

 

N/A

${LD_LIBRARY_PATH}a

 

 

SUSE/Fedora archi-

Note: For all 64-bit Java architectures (...64Linux...jdk), use

 

 

tectures for Java

 

 

 

 

-d64 in the command line.

 

 

 

 

 

 

 

 

 

 

 

All other supported

Static (Release &

None required

 

 

Debug)

 

 

Linux/SUSE/Fedora

 

 

 

 

 

 

 

Dynamic (Release

LD_LIBRARY_PATH= ${NDDSHOME}/lib/<architecture>:

 

 

architectures

 

 

& Debug)

${LD_LIBRARY_PATH}a

 

 

 

 

a.${NDDSHOME} represents the root directory of your Connext installation. ${LD_LIBRARY_PATH} represents the value of the LD_LIBRARY_PATH variable prior to changing it to support Connext. When using nddsjava.jar, the Java virtual machine (JVM) will attempt to load release versions of the native libraries. When using nddsjavad.jar, the JVM will attempt to load debug versions of the native libraries.

Table 4.7 Library-Creation Details for Linux and Fedora Architectures

 

Library

 

RTI Architecture

Format

Compiler Flags Used by RTI

(Static &

 

 

 

Dynamic)

 

 

 

 

 

 

-O3 -fPIC -mminimal-toc -mcpu=cell -mtune=cell -DLINUX -Wall

 

Release

-Wno-unknown-pragmas -DRTS_UNIX -DPtrIntType=long

 

-DCSREAL_IS_FLOAT -DCPU=cell

 

 

cell64Linux2.6gcc4.5.1

 

-DTARGET=\"cell64Linux2.6gcc4.5.1\" -DNDEBUG -c -Wp,-MD

 

 

 

-O3 -fPIC -mminimal-toc -mcpu=cell -mtune=cell -DLINUX -g -Wall

 

 

 

Debug

-Wno-unknown-pragmas -DRTS_UNIX -DPtrIntType=long

 

-DCSREAL_IS_FLOAT -DCPU=cell

 

 

 

 

-DTARGET=\"cell64Linux2.6gcc4.5.1\" -c -Wp,-MD

 

 

 

 

 

-fPIC -DLINUX -O -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

Release

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

-DTARGET=\"i86Linux2.6gcc3.4.3\" -fmessage-length=0

 

 

i86Linux2.6gcc3.4.3

 

-DNDEBUG -c -Wp,-MD

 

 

-fPIC -DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

Debug

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

 

-DTARGET=\"i86Linux2.6gcc3.4.3\" -fmessage-length=0 -c -Wp,-MD

 

 

 

 

 

-fPIC -DLINUX -O -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

Release

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

-DTARGET=\"i86Linux2.6gcc4.1.1\" -fmessage-length=0

 

 

i86Linux2.6gcc4.1.1

 

-DNDEBUG -c -Wp,-MD

 

 

-fPIC -DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

Debug

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

 

-DTARGET=\"i86Linux2.6gcc4.1.1\" -fmessage-length=0 -c -Wp,-MD

 

 

 

 

 

-fPIC -DLINUX -O -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

Release

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

-DTARGET=\"i86Linux2.6gcc4.1.2\" -fmessage-length=0

 

 

i86Linux2.6gcc4.1.2

 

-DNDEBUG -c -Wp,-MD

 

 

-fPIC -DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

Debug

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

 

-DTARGET=\"i86Linux2.6gcc4.1.2\" -fmessage-length=0 -c -Wp,-MD

 

 

 

21

 

 

 

Linux and Fedora Platforms

 

Table 4.7 Library-Creation Details for Linux and Fedora Architectures

 

 

 

 

 

 

 

 

Library

 

 

 

RTI Architecture

Format

Compiler Flags Used by RTI

 

 

(Static &

 

 

 

 

 

 

 

Dynamic)

 

 

 

 

 

 

 

 

 

 

-fPIC -DLINUX -O -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

Release

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

 

 

-DTARGET=\"i86Linux2.6gcc4.4.3\" -fmessage-length=0

 

 

 

 

 

 

i86Linux2.6gcc4.4.3

 

-DNDEBUG -c -Wp,-MD

 

 

 

 

-fPIC -DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

Debug

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

 

 

 

-DTARGET=\"i86Linux2.6gcc4.4.3\" -fmessage-length=0 -c -Wp,-MD

 

 

 

 

 

 

 

 

 

gcc -m32 -fPIC -DLINUX -O -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

Release

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

 

i86Linux2.6gcc4.4.5

 

-DTARGET=\\"i86Linux2.6gcc4.4.5\\" -DNDEBUG -Wp,-MD

 

 

 

 

 

 

 

gcc -m32 -fPIC -DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

 

 

 

 

Debug

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

 

 

 

-DTARGET=\\"i86Linux2.6gcc4.4.5\\" -Wp,-MD

 

 

 

 

 

 

 

 

 

-fPIC -DLINUX -O -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

Release

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

 

 

-DTARGET=\"i86Linux3gcc4.3.4\" -fmessage-length=0

 

 

 

 

 

 

i86Linux3gcc4.3.4

 

-DNDEBUG -c -Wp,-MD

 

 

 

Debug

-fPIC -DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

 

 

 

-DTARGET=\"i86Linux3gcc4.3.4\" -fmessage-length=0 -c-Wp,-MD

 

 

 

 

 

 

 

 

 

-fPIC -DLINUX -O -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

Release

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=PPC7400

 

 

ppc7400Linux2.6gcc3.3.3 a

 

-DTARGET=\"ppc7400Linux2.6gcc3.3.3\" -DNDEBUG -c -Wp,-MD

 

 

 

 

 

 

 

-fPIC -DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

 

 

 

 

Debug

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=PPC7400

 

 

 

 

-DTARGET=\"ppc7400Linux2.6gcc3.3.3\" -c -Wp,-MD

 

 

 

 

 

 

 

 

 

-fPIC -DLINUX -O -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

Release

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=4xxFP

 

 

ppc4xxFPLinux2.6gcc4.3.3

 

-DTARGET=\"ppc4xxFPLinux2.6gcc4.3.3\" -DNDEBUG -c -Wp,-MD

 

 

 

 

 

 

 

-fPIC -DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

 

 

 

 

Debug

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=4xxFP

 

 

 

 

-DTARGET=\"ppc4xxFPLinux2.6gcc4.3.3\" -DNDEBUG -c -Wp,-MD

 

 

 

 

 

 

 

 

 

-fPIC -DLINUX -O -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

Release

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=4xxFP

 

 

ppc4xxFPLinux2.6gcc4.5.1

 

-DTARGET=\"ppc4xxFPLinux2.6gcc4.5.1\" -DNDEBUG -c -Wp,-MD

 

 

 

 

 

 

 

-fPIC -DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

 

 

 

 

Debug

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=4xxFP

 

 

 

 

-DTARGET=\"ppc4xxFPLinux2.6gcc4.5.1\" -DNDEBUG -c -Wp,-MD

 

 

 

 

 

 

 

 

 

-fPIC -DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

Release

-DPtrIntyType=long -DCREAL_IS_FLOAT -DCPU=e500

 

 

ppc85xxLinux2.6gcc4.3.2

 

-DTARGET=\"ppc85xxLinux2.6gcc4.3.2\" -DNDEBUG -c -Wp, -MD

 

 

 

 

 

 

 

-fPIC -DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

 

 

 

 

Debug

-DPtrIntyType=long -DCREAL_IS_FLOAT -DCPU=e500

 

 

 

 

-DTARGET=\"ppc85xxLinux2.6gcc4.3.2\" -c -Wp, -MD

 

 

 

 

 

 

22

 

 

 

Linux and Fedora Platforms

 

Table 4.7 Library-Creation Details for Linux and Fedora Architectures

 

 

 

 

 

 

 

 

Library

 

 

 

RTI Architecture

Format

Compiler Flags Used by RTI

 

 

(Static &

 

 

 

 

 

 

 

Dynamic)

 

 

 

 

 

 

 

 

 

 

-mcpu=powerpc -msoft-float -fPIC -DLINUX -O -Wall

 

 

 

Release

-Wno-unknown-pragmas -DRTS_UNIX -DPtrIntType=long

 

 

 

-DCSREAL_IS_FLOAT -DCPU=PPC32

 

 

 

 

 

 

ppc85xxWRLinux2.6gcc4.3.2

 

-DTARGET=\"ppc85xxWRLinux2.6gcc4.3.2\" -DNDEBUG -Wp,-MD

 

 

 

 

 

 

 

powerpc-wrs-linux-gnu-gcc -mcpu=powerpc -msoft-float -fPIC

 

 

 

 

 

 

 

Debug

-DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=PPC32

 

 

 

 

 

 

 

 

-DTARGET=\"ppc85xxWRLinux2.6gcc4.3.2\" -Wp,-MD

 

 

 

 

 

 

 

 

 

-m64 -fPIC -DLINUX -O -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

Release

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

 

x64Linux2.6gcc3.4.5a

 

-DTARGET=\"x64Linux2.6gcc3.4.5\" -DNDEBUG -c -Wp,-MD

 

 

 

 

 

 

 

-m64 -fPIC -DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

 

 

 

 

Debug

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

 

 

 

-DTARGET=\"x64Linux2.6gcc3.4.5\" -fmessage-length=0 -c -Wp,-MD

 

 

 

 

 

 

 

 

 

-m64 -fPIC -DLINUX -O -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

Release

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

 

x64Linux2.6gcc4.1.1a

 

-DTARGET=\"x64Linux2.6gcc4.1.1\" -DNDEBUG -c -Wp,-MD

 

 

 

 

 

 

 

-m64 -fPIC -DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

 

 

 

 

Debug

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

 

 

 

-DTARGET=\"x64Linux2.6gcc4.1.1\" -fmessage-length=0 -c -Wp,-MD

 

 

 

 

 

 

 

 

 

-m64 -fPIC -DLINUX -O -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

Release

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

 

x64Linux2.6gcc4.1.2 a

 

-DTARGET=\"x64Linux2.6gcc4.1.2\" -DNDEBUG -c -Wp,-MD

 

 

 

 

 

 

 

-m64 -fPIC -DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

 

 

 

 

Debug

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

 

 

 

-DTARGET=\"x64Linux2.6gcc4.1.2\" -fmessage-length=0 -c -Wp,-MD

 

 

 

 

 

 

 

 

 

-m64 -fPIC -DLINUX -O -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

Release

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

 

x64Linux2.6gcc4.3.4

 

-DTARGET=\"x64Linux2.6gcc\" -c -Wp,-MD

 

 

 

 

 

 

 

-m64 -fPIC -DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

 

 

 

 

Debug

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

 

 

 

-DTARGET=\"x64Linux2.6gcc4.3.4\" -c -Wp,-MD

 

 

 

 

 

 

 

 

 

-m64 -fPIC -DLINUX -O -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

Release

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

 

x64Linux2.6gcc4.4.4 a

 

-DTARGET=\"x64Linux2.6gcc4.4.4\" -DNDEBUG -c -Wp,-MD

 

 

 

 

 

 

 

-m64 -fPIC -DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

 

 

 

 

Debug

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

 

 

 

-DTARGET=\"x64Linux2.6gcc4.4.4\" -c -Wp,-MD

 

 

 

 

 

 

 

 

 

-m64 -fPIC -DLINUX -O -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

Release

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

 

x64Linux2.6gcc4.4.3

 

-DTARGET=\"x64Linux2.6gcc4.4.3\" -DNDEBUG -c -Wp,-MD

 

 

 

 

 

 

 

-m64 -fPIC -DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

 

 

 

 

Debug

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

 

 

 

-DTARGET=\"x64Linux2.6gcc4.4.3\" -fmessage-length=0 -c -Wp,-MD

 

 

 

 

 

 

23

 

 

 

Linux and Fedora Platforms

 

Table 4.7 Library-Creation Details for Linux and Fedora Architectures

 

 

 

 

 

 

 

 

Library

 

 

 

RTI Architecture

Format

Compiler Flags Used by RTI

 

 

(Static &

 

 

 

 

 

 

 

Dynamic)

 

 

 

 

 

 

 

 

 

 

gcc -m64 -fPIC -DLINUX -O -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

Release

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

 

x64Linux2.6gcc4.4.5

 

-DTARGET=\\"x64Linux2.6gcc4.4.5\\" -DNDEBUG -Wp,-MD

 

 

 

 

 

 

 

gcc -m64 -fPIC -DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

 

 

 

 

Debug

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

 

 

 

-DTARGET=\\"x64Linux2.6gcc4.4.5\\" -Wp,-MD

 

 

 

 

 

 

 

 

 

-fPIC -DLINUX -O -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

Release

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

 

x64Linux2.6gcc4.5.1

 

-DTARGET=\"x64Linux2.6gcc4.5.1\" -DNDEBUG -c -Wp,-MD

 

 

 

 

 

 

 

-fPIC -DLINUX -g -Wall -Wno-unknown-pragmas -DRTS_UNIX

 

 

 

 

 

 

 

Debug

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

 

 

 

-DTARGET=\"x64Linux2.6gcc4.5.1\" -fmessage-length=0 -c -Wp,-MD

 

 

 

 

 

 

 

 

 

-m64 -march=x86-64 -mtune=generic -fPIC -DLINUX -O -Wall

 

 

 

Release

-Wno-unknown-pragmas -DPtrIntType=long -DCSREAL_IS_FLOAT

 

 

x64WRLinux2.6gcc4.4.1

 

-DCPU=AMD64 -DNDEBUG

 

 

 

 

 

 

 

-m64 -march=x86-64 -mtune=generic -fPIC -DLINUX -O -Wall

 

 

 

 

 

 

 

Debug

-Wno-unknown-pragmas -DPtrIntType=long -DCSREAL_IS_FLOAT

 

 

 

 

-DCPU=AMD64 -DNDEBUG

 

 

 

 

 

 

 

All supported Linux and

Dynamic

-target 1.4 -source 1.4

 

 

Fedora architectures for Java

Release

 

 

 

Dynamic

 

 

 

(*jdk)

-target 1.4 -source 1.4 -g

 

 

 

Debug

 

 

a.The C++ libnddscpp dynamic libraries were linked using g++; the C dynamic libraries, i.e., libnddscore and libnddsc, were linked using gcc.

Table 4.8 Additional Libraries for using RTI Secure WAN Transport APIs on UNIX-based Systems

Library Format

RTI Secure WAN Transport Librariesa

OpenSSL Librariesb

 

 

 

Dynamic Release

libnddstransportwan.so

 

libnddstransporttls.so

 

 

 

 

 

 

Dynamic Debug

libnddstransportwand.so

 

libnddstransporttlsd.so

libssl.so

 

 

 

libcrypto.so

Static Release

libnddstransporttlsz.a

libnddstransporttlszd.a

 

 

 

 

 

 

Static Debug

libnddstransportwanz.a

 

libnddstransportwanzd.a

 

 

 

 

 

 

a.The libraries are located in <wan install dir>/lib/<architecture>/., where <wan install dir> is where you installed RTI Secure WAN Transport, such as /local/rti/ndds.5.x.y.

b.These libraries are located <openssl install dir>/<architecture/lib, where <openssl install dir> is where you installed OpenSSL, such as /local/rti/openssl-0.9.8x.

Table 4.9 Additional Libraries for using RTI TCP Transport APIs on UNIX-based Systems

Library Format

RTI TCP Transport Librariesa

 

 

Dynamic Release

libnddstransporttcp.so

 

 

Dynamic Debug

libnddstransporttcpd.so

 

 

24

Linux and Fedora Platforms

Table 4.9 Additional Libraries for using RTI TCP Transport APIs on UNIX-based Systems

Library Format

RTI TCP Transport Librariesa

 

 

Static Release

libnddstransporttcpz.a

 

 

Static Debug

libnddstransporttcpzd.a

 

 

a.The libraries are located in <Connext install dir>/lib/<architecture>/., where <Connext install dir> is where you installed Connext, such as /local/rti/ndds.5.x.y.

Table 4.10 Additional Libraries for using RTI TCP Transport APIs on UNIX-based Systems with TLS Enabled

Library Format

RTI TLS Librariesa

 

 

Dynamic Release

libnddstls.so

 

 

Dynamic Debug

libnddstlsd.so

 

 

Static Release

libnddstlsz.a

 

 

Static Debug

libnddstlszd.a

 

 

OpenSSL Libraries

libssl.so

libcrypto.so

 

 

 

a.The libraries are located in <TLS install dir>/lib/<architecture>/., where <TLS install dir> is where you installed RTI TLS Support, such as /local/rti/ndds.5.x.y.

Table 4.11 Thread Settings for Linux and Fedora Platforms

Applicable Thread

DDS_ThreadSettings_t

Platform-Specific Setting

 

 

 

 

mask

OS default thread type

 

 

 

 

priority

OS default thread priority

Asynchronous Publisher,

 

 

stack_size

OS default thread stack size

Asynchronous flushing

 

 

cpu_list

Empty CPU list (Supported on Linux, SUSE and

thread

Fedora platforms)

 

 

 

 

 

 

cpu_rotation

DDS_THREAD_SETTINGS_CPU_NO_ROTATION

 

(Supported on Linux, SUSE and Fedora platforms)

 

 

 

 

 

 

mask

DDS_THREAD_SETTINGS_STDIO

 

 

 

 

priority

OS default thread priority

 

 

 

 

stack_size

OS default thread stack size

Database thread

 

 

cpu_list

Empty CPU list (Supported on Linux, SUSE and

 

 

Fedora platforms)

 

 

 

 

 

 

cpu_rotation

DDS_THREAD_SETTINGS_CPU_NO_ROTATION

 

(Supported on Linux, SUSE and Fedora platforms)

 

 

 

 

 

 

mask

DDS_THREAD_SETTINGS_STDIO |

 

DDS_THREAD_SETTINGS_FLOATING_POINT

 

 

 

 

 

 

priority

OS default thread priority

 

 

 

Event thread

stack_size

OS default thread stack size

 

 

cpu_list

Empty CPU list (Supported on Linux, SUSE and

 

 

Fedora platforms)

 

 

 

 

 

 

cpu_rotation

DDS_THREAD_SETTINGS_CPU_NO_ROTATION

 

(Supported on Linux, SUSE and Fedora platforms)

 

 

 

 

 

25

 

 

 

LynxOS Platforms

Table 4.11 Thread Settings for Linux and Fedora Platforms

 

 

 

 

 

Applicable Thread

DDS_ThreadSettings_t

Platform-Specific Setting

 

 

 

 

 

 

 

 

 

 

mask

DDS_THREAD_SETTINGS_STDIO |

 

 

DDS_THREAD_SETTINGS_FLOATING_POINT

 

 

 

 

 

 

 

 

 

priority

OS default thread priority

 

 

 

 

 

ReceiverPool threads

stack_size

OS default thread stack size

 

 

 

 

cpu_list

Empty CPU list (Supported on Linux, SUSE and

 

 

 

 

Fedora platforms)

 

 

 

 

 

 

 

 

 

cpu_rotation

DDS_THREAD_SETTINGS_CPU_NO_ROTATION

 

 

(Supported on Linux, SUSE and Fedora platforms)

 

 

 

 

 

 

 

Table 4.12 Thread-Priority Definitions for Linux and Fedora Platforms

 

 

 

 

Thread-Priority Definition

Operating-System Priority

 

 

 

 

THREAD_PRIORITY_DEFAULT

-9999999

 

 

 

 

THREAD_PRIORITY_HIGH

-9999999

 

 

 

 

THREAD_PRIORITY_ABOVE_NORMAL

-9999999

 

 

 

 

THREAD_PRIORITY_NORMAL

-9999999

 

 

 

 

THREAD_PRIORITY_BELOW_NORMAL

-9999999

 

 

 

 

THREAD_PRIORITY_LOW

-9999999

 

 

 

Table 4.13 Thread Kinds for Linux and Fedora Platforms

 

 

 

 

 

Thread Kinds

Operating-System Configurationa

 

 

 

 

DDS_THREAD_SETTINGS_FLOATING_POINT

N/A

 

 

 

 

DDS_THREAD_SETTINGS_STDIO

N/A

 

 

 

 

DDS_THREAD_SETTINGS_REALTIME_PRIORITY

Set schedule policy to SCHED_FIFO

 

 

 

 

DDS_THREAD_SETTINGS_PRIORITY_ENFORCE

N/A

 

 

 

 

a. See Linux programmer’s manuals for more information

5 LynxOS Platforms

Table 5.1 lists the architectures supported on LynxOS® operating systems.

Table 5.1 Supported LynxOS Platforms

Operating System

CPU

Compiler

RTI Architecture

 

 

 

 

 

x86

gcc 3.2.2

i86Lynx4.0.0gcc3.2.2

 

 

 

 

LynxOS 4.0

PPC 74xx (such as 7410)

gcc 3.2.2

ppc7400Lynx4.0.0gcc3.2.2

 

 

 

PPC 604,

gcc 3.2.2

ppc750Lynx4.0.0gcc3.2.2

 

 

PPC 7XX (such as 750)

 

 

 

 

 

 

 

LynxOS 4.2

PPC 74xx (such as 7410)

gcc 3.2.2

ppc7400Lynx4.2.0gcc3.2.2

 

 

 

 

LynxOS 5.0

PPC 74xx (such as 7410)

gcc 3.4.3

ppc7400Lynx5.0.0gcc3.4.3

 

 

 

 

26

LynxOS Platforms

Table 5.2 and Table 5.3 list the compiler flags and libraries you will need to link into your appli- cation.

Table 5.4 provides details on the environment variables that must be set at run time for a LynxOS architecture.

Table 5.5 provides details on how the libraries were built by RTI. This table is provided strictly for informational purposes; you do not need to use these parameters to compile your applica- tion. You may find this information useful if you are involved in any in-depth debugging.

Note: The Java API is not supported on LynxOS platforms in Connext 5.1.0. If you would like Java to be supported on LynxOS, please contact your RTI account manager.

Table 5.2 Building Instructions for LynxOS Architectures (Connext Libraries)

API

Library Formata

Required RTI Libraries b

 

 

 

 

 

libnddscppz.a

 

Static Release

libnddscz.a

 

libnddscorez.a

 

 

 

 

For Connext Messaging, also include: librticonnextmsgcppz.a

 

 

 

 

 

libnddscppzd.a

 

Static Debug

libnddsczd.a

 

libnddscorezd.a

 

 

C++

 

For Connext Messaging, also include: librticonnextmsgcppzd.a

 

 

 

libnddscpp.so

 

 

 

Dynamic Release

libnddsc.so

 

libnddscore.so

 

 

 

 

For Connext Messaging, also include: librticonnextmsgcpp.so

 

 

 

 

 

libnddscppd.so

 

Dynamic Debug

libnddscd.so

 

libnddscored.so

 

 

 

 

For Connext Messaging, also include: librticonnextmsgcppd.so

 

 

 

 

 

libnddscz.a

 

Static Release

libnddscorez.a

 

 

For Connext Messaging, also include: librticonnextmsgcz.a

 

 

 

 

 

libnddsczd.a

 

Static Debug

libnddscorezd.a

C

 

For Connext Messaging, also include: librticonnextmsgczd.a

 

 

 

libnddsc.so

 

 

 

Dynamic Release

libnddscore.so

 

 

For Connext Messaging, also include: librticonnextmsgc.so

 

 

 

 

 

libnddscd.so

 

Dynamic Debug

libnddscored.so

 

 

For Connext Messaging, also include: librticonnextmsgcd.so

 

 

 

a.Dynamic libraries are not supported under LynxOS-178.

b.The Connext C/C++ libraries are located in $(NDDSHOME)\lib\<architecture>\. (where $(NDDSHOME) is where Connext is installed, such as c:\rti\ndds.5.x.y)

27

LynxOS Platforms

Table 5.3 Building Instructions for LynxOS Architectures (System Libraries and Compiler Flags)

 

API

 

RTI Architecture

 

Required System Libraries

Required Compiler Flags

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

i86Lynx4.0.0gcc3.2.2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C and

ppc7400Lynx4.0.0gcc3.2.2

 

 

 

-DRTI_LYNX -mthreads -

 

 

 

 

 

 

 

 

 

 

ppc7400Lynx4.2.0gcc3.2.2

 

-ldb -lm -lrpc -lc -llynx

 

C++

 

mshared

 

 

 

 

 

 

 

 

 

 

ppc7400Lynx5.0.0gcc3.4.3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ppc750Lynx4.0.0gcc3.2.2

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 5.4 Running Instructions for LynxOS Architectures

 

 

 

 

 

 

 

 

 

 

 

 

RTI Architecture

 

Library Format

Required Environment Variables

 

 

(Release & Debug)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

All supported LynxOS

 

Static

 

 

None required

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LD_LIBRARY_PATH= ${NDDSHOME}/lib/<architecture>:

 

architectures

 

 

Dynamic

 

 

 

 

 

 

 

${LD_LIBRARY_PATH}

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 5.5 Library-Creation Details for LynxOS Architectures

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Library

 

 

 

 

 

RTI Architecture

 

Format

 

 

Compiler Flags Used by RTI

 

 

(Static &

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Dynamic)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-mthreads -mshared -fPIC -D_POSIX_THREADS_CALLS

 

 

 

 

 

 

Release

-D__NO_INCLUDE_WARN__ -O -Wall -Wno-unknown-pragmas

 

 

 

 

 

 

-DPtrIntType=long -DCPU=I80586

 

 

 

 

 

 

 

 

 

 

i86Lynx4.0.0gcc3.2.2

 

 

-DTARGET=\"i86Lynx4.0.0gcc3.2.2\" -DNDEBUG -c -Wp,-MD

 

 

 

 

 

 

 

 

 

 

-mthreads -mshared -fPIC -D_POSIX_THREADS_CALLS

 

 

 

 

 

 

 

 

 

 

 

 

 

Debug

-D__NO_INCLUDE_WARN__ -g -O -Wall -Wno-unknown-pragmas

 

 

 

 

 

 

-DPtrIntType=long -DCPU=I80586

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-DTARGET=\"i86Lynx4.0.0gcc3.2.2\" -c -Wp,-MD

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-mcpu=7400 -maltivec -mabi=altivec -fno-exceptions -mthreads

 

 

 

 

 

 

 

-mshared -fPIC -D_POSIX_THREADS_CALLS

 

 

 

 

 

 

Release

-D__NO_INCLUDE_WARN__ -O -Wall -Wno-unknown-pragmas

 

 

 

 

 

 

 

-DPtrIntType=long -DCPU=PPC7400

 

ppc7400Lynx4.0.0gcc3.2.2

 

 

-DTARGET=\"ppc7400Lynx4.0.0gcc3.2.2\" -DNDEBUG -c -Wp,-MD

 

 

 

 

 

 

 

 

 

 

-mcpu=7400 -maltivec -mabi=altivec -fno-exceptions -mthreads

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-mshared -fPIC -D_POSIX_THREADS_CALLS

 

 

 

 

 

 

Debug

-D__NO_INCLUDE_WARN__ -g -O -Wall -Wno-unknown-pragmas

 

 

 

 

 

 

 

-DPtrIntType=long -DCPU=PPC7400

 

 

 

 

 

 

 

-DTARGET=\"ppc7400Lynx4.0.0gcc3.2.2\" -c -Wp,-MD

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-mcpu=7400 -maltivec -mabi=altivec -fno-exceptions -mthreads

 

 

 

 

 

 

 

-mshared -fPIC -D_POSIX_THREADS_CALLS

 

 

 

 

 

 

Release

-D__NO_INCLUDE_WARN__ -O -Wall -Wno-unknown-pragmas

 

 

 

 

 

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=PPC7400

 

ppc7400Lynx4.2.0gcc3.2.2

 

 

-DTARGET=\"ppc7400Lynx4.2.0gcc3.2.2\" -DNDEBUG -c -Wp,-MD

 

 

 

 

 

 

 

 

 

 

-mcpu=7400 -maltivec -mabi=altivec -fno-exceptions -mthreads

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-mshared -fPIC -D_POSIX_THREADS_CALLS

 

 

 

 

 

 

Debug

-D__NO_INCLUDE_WARN__ -O -Wall -Wno-unknown-pragmas

 

 

 

 

 

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=PPC7400

 

 

 

 

 

 

 

-DTARGET=\"ppc7400Lynx4.2.0gcc3.2.2\" -c -Wp,-MD

 

 

 

 

 

 

 

 

 

 

 

28

 

 

 

LynxOS Platforms

Table 5.5 Library-Creation Details for LynxOS Architectures

 

 

 

 

 

 

Library

 

 

RTI Architecture

Format

Compiler Flags Used by RTI

 

(Static &

 

 

 

 

 

Dynamic)

 

 

 

 

 

 

 

 

 

 

 

 

-mcpu=7400 -maltivec -mabi=altivec -fno-exceptions -mthreads

 

 

 

-mshared -fPIC -D_POSIX_THREADS_CALLS

 

 

Release

-D__NO_INCLUDE_WARN__ -O -Wall -Wno-unknown-pragmas

 

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=PPC7400

 

ppc7400Lynx5.0.0gcc3.4.3

 

-DTARGET=\"ppc7400Lynx5.0.0gcc3.4.3\" -DNDEBUG -c -Wp,-MD

 

 

 

 

 

-mcpu=7400 -maltivec -mabi=altivec -fno-exceptions -mthreads

 

 

 

 

 

 

-mshared -fPIC -D_POSIX_THREADS_CALLS

 

 

Debug

-D__NO_INCLUDE_WARN__ -O -Wall -Wno-unknown-pragmas

 

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=PPC7400

 

 

 

-DTARGET=\"ppc7400Lynx5.0.0gcc3.4.3\" -c -Wp,-MD

 

 

 

 

 

 

 

-mcpu=750 -fno-exceptions -mthreads -mshared -fPIC

 

 

Release

-D_POSIX_THREADS_CALLS -D__NO_INCLUDE_WARN__ -O

 

 

-Wall -Wno-unknown-pragmas -DPtrIntType=long -DCPU=PPC750

 

 

 

 

ppc750Lynx4.0.0gcc3.2.2

 

-DTARGET=\"ppc750Lynx4.0.0gcc3.2.2\" -DNDEBUG -c -Wp,-MD

 

 

 

 

 

-mcpu=750 -fno-exceptions -mthreads -mshared -fPIC

 

 

 

 

 

Debug

-D_POSIX_THREADS_CALLS -D__NO_INCLUDE_WARN__ -g -O

 

 

-Wall -Wno-unknown-pragmas -DPtrIntType=long -DCPU=PPC750

 

 

 

 

 

 

-DTARGET=\"ppc750Lynx4.0.0gcc3.2.2\" -c -Wp,-MD

 

 

 

 

5.1Multicast Support

Multicast is supported on all LynxOS platforms, but it is not configured out of the box. That is, the default value for the initial peers list (NDDS_DISCOVERY_PEERS) does not include a multi- cast address.

To configure a LynxOS target to use multicast, you need to add routes so multicast packets will be sent via the proper network interfaces. To add routes, use the "route add" command. The spe- cific parameters depend on how the target is configured, the name of the interface (such as elxl0 in the example below), etc. Please refer to your LynxOS documentation for details on the "route add" command.

For example:

route add -net 224.0.0.0 -netmask 240.0.0.0 -interface elxl0

Note—Group Address Ignored for Multicast Reception on Loopback: On LynxOS architec- tures, the multicast-loopback implementation ignores the group address when receiving mes- sages. This causes Connext to receive all outgoing multicast traffic originating from the host for that port. Thus, if you have two participants on the same host and in the same domain, both lis- tening for discovery traffic over multicast, they will discover each other, regardless of the multi- cast address to which they are listening. (The correct behavior would be to receive messages only for the addresses to which the current process (not the host) is subscribed.)

5.2Supported Transports

Shared memory: Supported and enabled by default.

UDPv4: Supported and enabled by default.

UDPv6: Not supported.

TCP/IPv4: Not supported.

29

LynxOS Platforms

5.2.1Shared Memory Support

To see a list of shared memory resources in use, use the 'ipcs' command. To clean up shared memory and shared semaphore resources, use the 'ipcrm' command.

The shared memory keys used by Connext are in the range of 0x400000. For example:

ipcs -m | grep 0x004

The shared semaphore keys used by Connext are in the range of 0x800000; the shared mutex keys are in the range of 0xb00000. For example:

ipcs -s | grep 0x008 ipcs -s | grep 0x00b

Please refer to the shared-memory transport online documentation for details on the shared memory and semaphore keys used by Connext.

5.3IP Fragmentation Issues

The LynxOS platforms do not support IP fragmentation over the loopback interface due to a bug in the OS (see below). The maximum size of a UDP packet that can be sent over the loopback interface is therefore limited by the size of the MTU on this interface, which by default is 16384 bytes. Since the default message_size_max for the builtin-UDPv4 transport is 65507 bytes (the maximum UDP user payload), you must adjust the size of the MTU of the loopback interface to accommodate UDP messages larger than 16384 bytes (including the UDP header). You can increase the size of the MTU with the following command:

>ifconfig lo0 mtu 65535

Note: The maximum size of the MTU on the loopback interface is 65535, which will allow RTPS payloads of 65507 bytes.

For more information on this issue, contact LynuxWorks Support about bug #30191.

5.4Monotonic Clock Support

The monotonic clock (described in Section 8.6 in the RTI Core Libraries and Utilities User’s Manual) is not supported on LynxOS platforms.

5.5Thread Configuration

Table 5.6 lists the thread settings for LynxOS platforms. Table 5.7 lists the thread-priority definitions.

5.5.1Support for Controlling CPU Core Affinity for RTI Threads

Support for controlling CPU core affinity (described in Section 19.5 in the RTI Core Libraries and Utilities User’s Manual) is not available for LynxOS platforms.

Table 5.6 Thread Settings for LynxOS Platforms

Applicable Thread

DDS_ThreadSettings_t

Platform-specific Setting

 

 

 

 

mask

OS default thread type

 

 

 

Asynchronous Publisher,

priority

13

 

 

stack_size

4*16*1024

Asynchronous flushing thread

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

30

 

 

 

 

 

Mac OS Platforms

Table 5.6 Thread Settings for LynxOS Platforms

 

 

 

 

 

 

 

 

 

Applicable Thread

 

DDS_ThreadSettings_t

Platform-specific Setting

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mask

 

DDS_THREAD_SETTINGS_STDIO

 

 

 

 

 

 

 

 

 

priority

 

10

 

Database thread

 

 

 

 

 

 

stack_size

 

16*1024

 

 

 

 

 

 

 

 

 

cpu_list

 

CPU core affinity not supported

 

 

 

 

 

 

 

 

 

cpu_rotation

 

CPU core affinity not supported

 

 

 

 

 

 

 

 

 

 

 

DDS_THREAD_SETTINGS_STDIO |

 

 

 

mask

 

DDS_THREAD_SETTINGS_FLOATING_P

 

 

 

 

 

OINT

 

 

 

 

 

 

 

Event thread

 

priority

 

13

 

 

 

 

 

 

 

 

stack_size

 

4*16*1024

 

 

 

 

 

 

 

 

 

cpu_list

 

CPU core affinity not supported

 

 

 

 

 

 

 

 

 

cpu_rotation

 

CPU core affinity not supported

 

 

 

 

 

 

 

 

 

 

 

DDS_THREAD_SETTINGS_STDIO |

 

 

 

mask

 

DDS_THREAD_SETTINGS_FLOATING_P

 

 

 

 

 

OINT

 

 

 

 

 

 

 

ReceiverPool threads

 

priority

 

29

 

 

 

 

 

 

 

 

stack_size

 

4*16*1024

 

 

 

 

 

 

 

 

 

cpu_list

 

CPU core affinity not supported

 

 

 

 

 

 

 

 

 

cpu_rotation

 

CPU core affinity not supported

 

 

 

 

 

Table 5.7 Thread-Priority Definitions for LynxOS Platforms

 

 

 

 

 

 

Thread-Priority Definition

 

Operating-System Priority

 

 

 

 

 

 

 

 

 

 

 

THREAD_PRIORITY_DEFAULT

 

17

 

 

 

 

 

 

 

THREAD_PRIORITY_HIGH

 

32

 

 

 

 

 

 

THREAD_PRIORITY_ABOVE_NORMAL

29

 

 

 

 

 

 

 

THREAD_PRIORITY_NORMAL

 

17

 

 

 

 

 

 

THREAD_PRIORITY_BELOW_NORMAL

13

 

 

 

 

 

 

 

THREAD_PRIORITY_LOW

 

10

 

 

 

 

 

 

 

5.6Durable Writer History and Durable Reader State Features

The Durable Writer History and Durable Reader State features are not supported on LynxOS platforms.

6 Mac OS Platforms

Table 6.1 lists the architectures supported on Mac OS operating systems.

Table 6.1 Mac OS Platforms

Operating System

CPU

Compiler

RTI Architecture

Abbreviation

 

 

 

 

 

 

 

 

 

 

 

Mac OS X 10.8

x64

clang 4.1

x64Darwin12clang4.1

 

 

Java Platform, Standard Edition JDK 1.7

x64Darwin12clang4.1jdk

 

 

 

 

 

 

31

Mac OS Platforms

Table 6.2 lists the compiler flags and libraries you will need to link into your application.

Table 6.3 provides details on the environment variables that must be set at run time for a Mac OS architecture.

Table 6.4 provides details on how the libraries were built by RTI. This table is provided strictly for informational purposes; you do not need to use these parameters to compile your applica- tion. You may find this information useful if you are involved in any in-depth debugging.

To use rtiddsgen to create files for a Java target:

By default, rtiddsgen uses JRE 1.4, which is distributed with the RTI Core Libraries and Utilities in $NDDSHOME/jre. To use rtiddsgen with Java 1.6, you need Xalan-Java 2.7.1 or higher.

1.Download the latest Xalan-Java version from http://xml.apache.org/xalan-j/.

2.Unpack the Xalan distribution file in a location of your choice.

3.Set the XALANHOME environment variable to the Xalan installation directory.

4.Set the NDDSJREHOME environment variable to the JRE 1.6 installation directory.

5.Run rtiddsgen using the script located in $NDDSHOME/scripts.

Table 6.2 Building Instructions for Mac OS Architectures

 

Library

Required RTI Librariesa

Required

Required Compiler

API

System

 

Format

 

Libraries

Flags

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

libnddscppz.a

 

 

 

 

libnddscz.a

 

 

 

Static Release

libnddscorez.a

 

 

 

 

 

 

 

 

For Connext Messaging, also include:

 

 

 

 

librticonnextmsgcppz.a

 

 

 

 

 

 

 

 

 

libnddscppzd.a

 

 

 

 

libnddsczd.a

 

 

 

Static Debug

libnddscorezd.a

 

-dynamic -lpthread

 

 

For Connext Messaging, also include:

 

-lc -single_module

C++

 

librticonnextmsgcppzd.a

-ldl -lm

-DRTI_UNIX

 

libnddscpp.dylib

-lpthread

-DRTI_DARWIN

 

 

 

Dynamic

libnddsc.dylib

 

-DRTI_DARWIN10

 

libnddscore.dylib

 

-DRTI_64BIT

 

Release

 

 

 

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgcpp.dylib

 

 

 

 

 

 

 

 

 

libnddscppd.dylib

 

 

 

Dynamic

libnddscd.dylib

 

 

 

libnddscored.dylib

 

 

 

Debug

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgcppd.dylib

 

 

 

 

 

 

 

32

 

 

 

 

 

Mac OS Platforms

Table 6.2 Building Instructions for Mac OS Architectures

 

 

 

 

 

 

 

 

 

 

 

 

Library

Required RTI Librariesa

Required

 

Required Compiler

 

API

System

 

 

 

Format

 

Libraries

 

Flags

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

libnddscz.a

 

 

 

 

 

Static Release

libnddscorez.a

 

 

 

 

 

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

 

 

 

 

librticonnextmsgcz.a

 

 

 

 

 

 

 

 

 

 

 

 

 

libnddsczd.a

 

 

 

 

 

Static Debug

libnddscorezd.a

 

 

-dynamic -lpthread

 

 

For Connext Messaging, also include:

 

 

-lc -single_module

 

 

 

 

 

 

C

 

librticonnextmsgczd.a

-ldl -lm

 

-DRTI_UNIX

 

 

libnddsc.dylib

-lpthread

 

-DRTI_DARWIN

 

 

 

 

 

 

Dynamic

libnddscore.dylib

 

 

-DRTI_DARWIN10

 

 

Release

For Connext Messaging, also include:

 

 

-DRTI_64BIT

 

 

 

librticonnextmsgc.dylib

 

 

 

 

 

 

 

 

 

 

 

 

 

libnddscd.dylib

 

 

 

 

 

Dynamic

libnddscored.dylib

 

 

 

 

 

 

 

 

 

 

 

Debug

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

 

 

 

 

librticonnextmsgcd.dylib

 

 

 

 

 

 

 

 

 

 

 

 

 

nddsjava.jar

 

 

 

 

 

Release

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

 

 

Java

 

rticonnextmsg.jar

N/A

 

None required

 

 

 

 

 

 

nddsjavad.jar

 

 

 

 

 

 

 

 

 

Debug

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

 

 

 

 

rticonnextmsgd.jar

 

 

 

 

 

 

 

 

 

 

a.The Connext C/C++ libraries are located in $(NDDSHOME)/lib/<architecture>/. (where $(NDDSHOME) is where Connext is installed, such as /local/rti/ndds.5.x.y)

Table 6.3 Running Instructions for Mac OS Architectures

 

Library

 

RTI Architecture

Format

Required Environment Variables

(Release &

 

 

 

Debug)

 

 

 

 

 

 

 

 

Static

None required

x64Darwin10gcc4.2.1

 

 

Dynamic

DYLD_LIBRARY_PATH=${NDDSHOME}/lib/

 

x64Darwin10gcc4.2.1:${DYLD_LIBRARY_PATH}a

 

 

x64Darwin10gcc4.2.1jdk

N/A

DYLD_LIBRARY_PATH=${NDDSHOME}/lib/

x64Darwin10gcc4.2.1jdk:${DYLD_LIBRARY_PATH}a

 

 

a.${NDDSHOME} represents the root directory of your Connext installation. ${DYLD_LIBRARY_PATH} represents the value of the DYLD_LIBRARY_PATH variable prior to changing it to support Connext. When using nddsjava.jar, the Java virtual machine (JVM) will attempt to load release versions of the native libraries (nddsjava.dylib, nddscore.dylib, nddsc.dylib). When using nddsjavad.jar, the JVM will attempt to load debug versions of the native libraries (nddsjava.dylib, nddscore.dylib, nddsc.dylib).

33

 

 

 

Mac OS Platforms

 

Table 6.4 Library-Creation Details for Mac OS Architectures

 

 

 

 

 

 

 

 

Library

 

 

 

RTI Architecture

Format

Compiler Flags Used by RTI

 

 

(Static &

 

 

 

 

 

 

 

Dynamic)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-O -Wall -Wno-unknown-pragmas -DRTS_UNIX -DPtrIntType=long

 

 

 

Release

-DCSREAL_IS_FLOAT -DCPU=AMD64

 

 

x64Darwin10gcc4.2.1

 

-DTARGET=\"x64Darwin10gcc4.2.1\" -c -Wp,-MD

 

 

 

 

 

 

 

-g -Wall -Wno-unknown-pragmas -DRTS_UNIX -DPtrIntType=long

 

 

 

 

 

 

 

Debug

-DCSREAL_IS_FLOAT -DCPU=AMD64

 

 

 

 

-DTARGET=\" x64Darwin10gcc4.2.1\" -c -Wp,-MD

 

 

 

 

 

 

 

x64Darwin10gcc4.2.1jdk

Release

-target 1.4 -source 1.4

 

 

 

 

 

 

Debug

-target 1.4 -source 1.4 -g

 

 

 

 

 

 

 

 

 

6.1Multicast Support

Multicast is supported on Mac OS platforms and is configured out of the box. That is, the default value for the initial peers list (NDDS_DISCOVERY_PEERS) includes a multicast address. See the online documentation for more information.

6.2Supported Transports

Shared memory: Supported and enabled by default.

UDPv4: Supported and enabled by default.

UDPv6: Not supported.

TCP/IPv4: Not supported.

6.3Monotonic Clock Support

The monotonic clock (described in Section 8.6 in the RTI Core Libraries and Utilities User’s Manual) is not supported on Mac OS platforms.

6.4Thread Configuration

Table 6.5 lists the thread settings for MAC OS platforms. Table 6.6 lists the thread-priority definitions.

6.4.1Support for Controlling CPU Core Affinity for RTI Threads

Support for controlling CPU core affinity (described in Section 19.5 in the RTI Core Libraries and Utilities User’s Manual) is not available for Mac OS platforms.

Table 6.5 Thread Settings for MAC OS Platforms

Applicable Thread

DDS_ThreadSettings_t

Platform-Specific Setting

 

 

 

 

 

 

 

mask

OS default thread type

 

 

 

Asynchronous Publisher,

priority

OS default thread priority

 

 

Asynchronous flushing

stack_size

OS default thread stack size

thread

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

34

 

 

 

 

QNX Platforms

 

Table 6.5 Thread Settings for MAC OS Platforms

 

 

 

 

 

 

 

 

 

Applicable Thread

 

DDS_ThreadSettings_t

Platform-Specific Setting

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mask

DDS_THREAD_SETTINGS_STDIO

 

 

 

 

 

 

 

 

 

 

priority

OS default thread priority

 

 

Database thread

 

 

 

 

 

 

stack_size

OS default thread stack size

 

 

 

 

 

 

 

 

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

 

 

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

 

 

 

 

 

 

 

mask

DDS_THREAD_SETTINGS_STDIO |

 

 

 

 

DDS_THREAD_SETTINGS_FLOATING_POINT

 

 

 

 

 

 

 

 

 

 

 

 

 

Event thread

 

priority

OS default thread priority

 

 

 

 

 

 

 

 

stack_size

OS default thread stack size

 

 

 

 

 

 

 

 

 

 

 

 

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

 

 

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

 

 

 

 

 

 

 

mask

DDS_THREAD_SETTINGS_STDIO |

 

 

 

 

DDS_THREAD_SETTINGS_FLOATING_POINT

 

 

 

 

 

 

 

 

 

 

 

 

 

ReceiverPool threads

 

priority

OS default thread priority

 

 

 

 

 

 

 

 

stack_size

OS default thread stack size

 

 

 

 

 

 

 

 

 

 

 

 

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

 

 

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

 

 

 

Table 6.6 Thread-Priority Definitions for MAC OS Platforms

 

 

 

 

 

 

Thread-Priority Definition

Operating-System Priority

 

 

 

 

 

 

 

 

 

 

THREAD_PRIORITY_DEFAULT

-9999999

 

 

 

 

 

 

THREAD_PRIORITY_HIGH

-9999999

 

 

 

 

 

 

THREAD_PRIORITY_ABOVE_NORMAL

-9999999

 

 

 

 

 

 

THREAD_PRIORITY_NORMAL

-9999999

 

 

 

 

 

 

THREAD_PRIORITY_BELOW_NORMAL

-9999999

 

 

 

 

 

 

 

THREAD_PRIORITY_LOW

 

-9999999

 

 

 

 

 

 

 

6.5Durable Writer History and Durable Reader State Features

The Durable Writer History and Durable Reader State features are not supported on Mac OS platforms.

7

QNX Platforms

 

 

 

 

Table 7.1 lists the architectures supported on QNX operating systems.

Table 7.1 Supported QNX Platformsa

 

 

 

Operating System

 

CPU

Compiler

RTI Architecture

 

 

 

 

 

 

 

 

 

 

 

 

 

QNX Neutrino 6.4.1

 

x86

qcc 4.3.3 with GNU C++ libraries

i86QNX6.4.1qcc_gpp

 

 

 

 

 

 

 

QNX Neutrino 6.5

 

x86

qcc 4.4.2 with GNU C++ libraries

i86QNX6.5qcc_gpp4.4.2

 

 

 

 

 

 

a. For use with Windows, Linux or Solaris Host as supported by QNX & RTI

35

QNX Platforms

Table 7.2 lists the libraries you will need to link into your application.

Table 7.3 provides details on the environment variables that must be set at run time for a QNX architecture.

Table 7.4 provides details on how the QNX libraries were built.

Table 7.2 Building Instructions for QNX Architectures

API

Library Format

RTI Librariesa

Required

Required

System Libraries

Compiler Flags

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

libnddscppz.a

 

 

 

 

libnddscz.a

 

 

 

Static Release

libnddscorez.a

 

 

 

 

 

 

 

 

For Connext Messaging, also include:

 

 

 

 

librticonnextmsgcppz.a

 

 

 

 

 

 

 

 

 

libnddscppzd.a

 

 

 

 

libnddsczd.a

 

 

 

Static Debug

libnddscorezd.a

 

 

 

 

 

 

 

 

For Connext Messaging, also include:

 

 

C++

 

librticonnextmsgcppzd.a

-lm -lsocket

-DRTI_QNX

 

 

 

libnddscpp.so

 

 

 

 

 

 

libnddsc.so

 

 

 

Dynamic Release

libnddscore.so

 

 

 

 

 

 

 

 

For Connext Messaging, also include:

 

 

 

 

librticonnextmsgcpp.so

 

 

 

 

 

 

 

 

 

libnddscppd.so

 

 

 

 

libnddscd.so

 

 

 

Dynamic Debug

libnddscored.so

 

 

 

 

 

 

 

 

For Connext Messaging, also include:

 

 

 

 

librticonnextmsgcppd.so

 

 

 

 

 

 

 

 

 

libnddscz.a

 

 

 

Static Release

libnddscorez.a

 

 

 

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgcz.a

 

 

 

 

 

 

 

 

 

libnddsczd.a

 

 

 

Static Debug

libnddscorezd.a

 

 

 

For Connext Messaging, also include:

 

 

 

 

 

 

C

 

librticonnextmsgczd.a

-lm -lsocket

-DRTI_QNX

 

 

 

libnddsc.so

 

 

 

 

 

Dynamic Release

libnddscore.so

 

 

 

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgc.so

 

 

 

 

 

 

 

 

 

libnddscd.so

 

 

 

Dynamic Debug

libnddscored.so

 

 

 

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgcd.so

 

 

 

 

 

 

 

a.The NDDS C/C++ libraries are located in $(NDDSHOME)\lib\<architecture>\. (where $(NDDSHOME) is where Connext is installed, such as c:\rti\ndds.5.x.y)

36

QNX Platforms

Table 7.3 Running Instructions for QNX Architectures

RTI Architecture

Library Format

Environment Variables

 

(Release & Debug)

 

 

 

 

All supported QNX

Static

None required

 

 

 

LD_LIBRARY_PATH=

architectures

Dynamic

${NDDSHOME}/lib/<architecture>: ${LD_LIBRARY_PATH}a

 

 

a.${NDDSHOME} represents the root directory of your Connext installation. ${LD_LIBRARY_PATH} represents the value of the LD_LIBRARY_PATH variable prior to changing it to support Connext. When using nddsjava.jar, the Java virtual machine (JVM) will attempt to load release versions of the native libraries. When using nddsjavad.jar, the JVM will attempt to load debug versions of the native libraries.

Table 7.4 Library-Creation Details for QNX Architectures

 

Library

 

RTI Architecture

Format

Compiler Flags Used by RTI

(Static &

 

 

 

Dynamic)

 

 

 

 

 

Release

qcc -Vgcc/4.3.3,gcc_ntox86 -Y_gpp -lang-c -fPIC -fexceptions

 

-O -Wall -Wno-unknown-pragmas -DNDEBUG

i86QNX6.4.1qcc_gpp

 

 

 

Debug

qcc -Vgcc/4.3.3,gcc_ntox86 -Y_gpp -lang-c -fPIC -fexceptions

 

 

-g -Wall -Wno-unknown-pragmas

 

 

 

 

 

 

 

qcc -Vgcc/4.4.2,gcc_ntox86 -Y_gpp -m32 -march=i386

 

 

-mtune=generic -fPIC -fexceptions -DFD_SETSIZE=512 -O -Wall

 

Release

-Wno-unknown-pragmas -DRTS_QNX -DPtrIntType=long

 

 

-DCSREAL_IS_FLOAT -DCPU=I80586

i86QNX6.5qcc_gpp4.4.2

 

-DTARGET=\"i86QNX6.5qcc_gpp4.4.2\" -DNDEBUG

 

 

 

qcc -Vgcc/4.4.2,gcc_ntox86 -Y_gpp -m32 -march=i386

 

 

 

 

-mtune=generic -fPIC -fexceptions -DFD_SETSIZE=512 -g -Wall

 

Debug

-Wno-unknown-pragmas -DRTS_QNX-DPtrIntType=long

 

 

-DCSREAL_IS_FLOAT -DCPU=I80586

 

 

-DTARGET=\"i86QNX6.5qcc_gpp4.4.2\"

 

 

 

7.1Required Change for Building with C++ Libraries for QNX Platforms

For QNX architectures, in Connext 5.0 and higher: The C++ libraries are now built without the -fno-rtti flag and with the -fexceptions flag. To build QNX architectures with Connext 5.0 and higher, you must build your C++ applications without -fno-exceptions in order to link with the RTI libraries. In summary:

Do not use -fno-exceptions when building a C++ application or the build will fail. It is not necessary to use -fexceptions, but doing so will not cause a problem.

It is no longer necessary to use -fno-rtti, but doing so will not cause a problem.

7.2Multicast Support

Multicast is supported on QNX platforms and is configured out of the box. That is, the default value for the initial peers list (NDDS_DISCOVERY_PEERS) includes a multicast address. See the online documentation for more information.

7.3Supported Transports

Shared Memory: Supported and enabled by default.

To see a list of the shared memory resources, enter:

'ls /dev/shmem/RTIOsapiSharedMemorySegment-*'

37

QNX Platforms

To clean up the shared memory resources, remove the files listed in dev/shmem/. The shared resource names used by Connext begin with 'RTIOsapiSharedMemorySem-'. To see a list of shared semaphores, enter:

'ls /dev/sem/RTIOsapiSharedMemorySemMutex*'

To clean up the shared semaphore resources, remove the files listed in /dev/sem/'.

The permissions for the semaphores created by Connext are modified by the process' umask value. If you want to have shared memory support between different users, run the com- mand "umask 000" to change the default umask value to 0 before running your Connext application.

UDPv4: Supported and enabled by default.

UDPv6: Supported. The transport is not enabled by default; the peers list must be modified to support IPv6. No Traffic Class support.

To use the UDPv6 transport, the network stack must provide IPv6 capability. Enabling UDPv6 may involve switching the network stack server and setting up IPv6 route entries.

TCP/IPv4: Supported on i86QNX6.5qcc_cpp4.4.2.

TLS: Supported on i86QNX6.5qcc_cpp4.4.2.

7.4Monotonic Clock Support

The monotonic clock (described in Section 8.6 in the RTI Core Libraries and Utilities User’s Manual) is supported on QNX platforms.

7.5Thread Configuration

Table 7.5 lists the thread settings for QNX platforms. Table 7.6 lists the thread-priority definitions.

7.5.1Support for Controlling CPU Core Affinity for RTI Threads

Support for controlling CPU core affinity (described in Section 19.5 in the RTI Core Libraries and Utilities User’s Manual) is not available for QNX platforms.

Table 7.5 Thread Settings for QNX Platforms

Applicable Thread

DDS_ThreadSettings_t

Platform-Specific Setting

 

 

 

 

 

 

 

mask

OS default thread type

 

 

 

Asynchronous Publisher,

priority

OS default thread priority

 

 

stack_size

OS default stack size

Asynchronous flushing thread

 

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

 

mask

DDS_THREAD_SETTINGS_STDIO

 

 

 

 

priority

OS default thread priority

 

 

 

Database thread

stack_size

OS default thread stack size

 

 

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

38

 

 

 

 

QNX Platforms

Table 7.5 Thread Settings for QNX Platforms

 

 

 

 

 

 

 

 

Applicable Thread

DDS_ThreadSettings_t

Platform-Specific Setting

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DDS_THREAD_SETTINGS_STDIO |

 

 

mask

 

DDS_THREAD_SETTINGS_FLOATING_

 

 

 

 

POINT

 

 

 

 

 

 

Event thread

priority

 

OS default thread priority

 

 

 

 

 

 

stack_size

 

OS default thread stack size

 

 

 

 

 

 

 

cpu_list

 

CPU core affinity not supported

 

 

 

 

 

 

 

cpu_rotation

 

CPU core affinity not supported

 

 

 

 

 

 

 

 

 

DDS_THREAD_SETTINGS_STDIO |

 

 

mask

 

DDS_THREAD_SETTINGS_FLOATING_

 

 

 

 

POINT

 

 

 

 

 

 

ReceiverPool threads

priority

 

OS default thread priority

 

 

 

 

 

 

stack_size

 

OS default thread stack size

 

 

 

 

 

 

 

cpu_list

 

CPU core affinity not supported

 

 

 

 

 

 

 

cpu_rotation

 

CPU core affinity not supported

 

 

 

 

 

Table 7.6 Thread-Priority Definitions for QNX Platforms

 

 

 

 

 

 

 

Thread-Priority Definition

 

Operating-System Priority

 

 

 

 

 

 

 

 

 

 

 

THREAD_PRIORITY_DEFAULT

 

10

 

 

 

 

 

 

 

THREAD_PRIORITY_HIGH

 

60

 

 

 

 

 

 

THREAD_PRIORITY_ABOVE_NORMAL

40

 

 

 

 

 

 

 

THREAD_PRIORITY_NORMAL

 

10

 

 

 

 

 

 

THREAD_PRIORITY_BELOW_NORMAL

9

 

 

 

 

 

 

 

THREAD_PRIORITY_LOW

 

8

 

 

 

 

 

 

7.6Durable Writer History and Durable Reader State Features

The Durable Writer History and Durable Reader State features are not supported on QNX plat- forms.

7.7Restarting Applications on QNX Systems

Due to a limitation in the POSIX API, if a process is unexpectedly interrupted in the middle of a critical section of code that is protected by a shared mutex semaphore, the OS is unable to auto- matically release the semaphore, making it impossible to reuse it by another application.

The Connext shared-memory transport uses a shared mutex to protect access to the shared mem- ory area across multiple processes.

It is possible under some extreme circumstances that if one application crashes or terminates ungracefully while executing code inside a critical section, the other applications sharing the same resource will not be able to continue their execution. If this situation occurs, you must manually delete the shared-memory mutex before re-launching any application in the same domain.

39

Solaris Platforms

8 Solaris Platforms

Table 8.1 lists the architectures supported on Solaris operating systems.

Table 8.1 Supported Solaris Platforms

Operating

CPU

Compiler or

RTI Architecture

System

Software Development Kit

 

 

 

 

 

 

 

 

 

 

Solaris 2.9

x86

gcc 3.3.2

i86Sol2.9gcc3.3.2

 

 

 

UltraSPARC

CC 5.4 (Forte Dev 7, Sun One Studio 7)

sparcSol2.9cc5.4

 

 

 

 

 

 

UltraSPARC

gcc3.4.2

sparcSol2.10gcc3.4.2

 

 

 

 

Java Platform, Standard Edition JDK 1.7

sparcSol2.10jdk

 

 

Solaris 10

 

 

 

UltraSPARC

gcc3.4.2

sparc64Sol2.10gcc3.4.2

 

 

(with native 64-

 

 

 

Java Platform, Standard Edition JDK 1.7

sparc64Sol2.10jdk

 

bit support)

 

 

 

 

 

 

 

Table 8.2 lists the compiler flags and the libraries you will need to link into your application. (See also: VxWorks Platforms (Section 9).)

Table 8.3 provides details on the environment variables that must be set at run time for a Solaris architecture.

When running on a Java 64-bit architecture, use the -d64 flag in the command-line.

Table 8.4 provides details on how the libraries were built by RTI. This table is provided strictly for informational purposes; you do not need to use these parameters to compile your applica- tion. You may find this information useful if you are involved in any in-depth debugging.

Table 8.2 Building Instructions for Solaris Architectures

API

Library

RTI Libraries or Jar Filesa

Required System

Required Compiler

Format

Libraries

Flags

 

 

 

 

 

 

 

 

 

libnddscz.a

 

 

 

Static

libnddscorez.a

 

 

 

Release

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgcz.a

sparc64Sol2.10gcc3.4.2:

 

 

 

 

 

 

 

libnddsczd.a

 

 

 

-ldl -lnsl -lsocket

 

 

Static

libnddscorezd.a

 

 

-lgen -lposix4

sparc64Sol2.10gcc3.4.2:

 

Debug

For Connext Messaging, also include:

-lpthread -lm -lc

 

-DRTI_UNIX -m64

 

 

C

 

librticonnextmsgczd.a

 

 

 

 

 

 

 

libnddsc.so

All other architectures:

All other architectures:

 

 

 

Dynamic

libnddscore.so

-ldl -lnsl -lgenIO

 

-DRTI_UNIX -m32

 

Release

For Connext Messaging, also include:

-lsocket -lgen

 

 

 

 

-lposix4 -lpthread

 

 

 

librticonnextmsgc.so

 

 

 

-lm -lc

 

 

 

 

 

 

 

libnddscd.so

 

 

 

 

 

 

Dynamic

libnddscored.so

 

 

 

Debug

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgcd.so

 

 

 

 

 

 

 

40

 

 

 

 

 

Solaris Platforms

 

Table 8.2 Building Instructions for Solaris Architectures

 

 

 

 

 

 

 

 

 

 

 

API

Library

RTI Libraries or Jar Filesa

Required System

Required Compiler

 

 

Format

Libraries

Flags

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

libnddscppz.a

 

 

 

 

 

Static

libnddscz.a

 

 

 

 

 

libnddscorez.a

 

 

 

 

 

Release

 

 

 

 

 

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

 

 

 

 

librticonnextmsgcppz.a

 

 

 

 

 

 

 

 

 

 

 

 

 

libnddscppzd.a

sparc64Sol2.10gcc3.4.2:

 

 

 

 

Static

libnddsczd.a

-ldl -lnsl -lsocket

 

 

 

 

libnddscorezd.a

sparc64Sol2.10gcc3.4.2:

 

 

 

-lgen -lposix4

 

 

 

Debug

 

 

 

 

 

 

 

For Connext Messaging, also include:

-lpthread -lm -lc

-DRTI_UNIX -m64

 

 

 

 

 

 

C++

 

librticonnextmsgcppzd.a

 

 

 

 

 

 

 

 

 

 

 

libnddscpp.so

All other architectures:

All other architectures:

 

 

 

 

 

 

 

Dynamic

libnddsc.so

-ldl -lnsl -lgenIO

 

 

 

libnddscore.so

-DRTI_UNIX -m32

 

 

 

-lsocket -lgen

 

 

 

Release

For Connext Messaging, also include:

-lposix4 -lpthread

 

 

 

 

 

 

 

 

 

 

librticonnextmsgcpp.so

-lm -lc

 

 

 

 

 

 

 

 

 

 

 

 

libnddscppd.so

 

 

 

 

 

Dynamic

libnddscd.so

 

 

 

 

 

libnddscored.so

 

 

 

 

 

Debug

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

 

 

 

 

librticonnextmsgcppd.so

 

 

 

 

 

 

 

 

 

 

 

 

 

nddsjava.jar

 

 

 

 

 

Release

For Connext Messaging, also include:

 

 

 

 

Java

 

rticonnextmsg.jar

N/A

None required

 

 

 

 

 

 

 

nddsjavad.jar

 

 

 

 

 

 

 

 

 

Debug

For Connext Messaging, also include:

 

 

 

 

 

 

rticonnextmsgd.jar

 

 

 

 

 

 

 

 

 

 

a.The RTI C/C++ libraries are located in $(NDDSHOME)\lib\<architecture>\. The RTI Java files are located in $(NDDSHOME)\class\.

(where $(NDDSHOME) is where Connext is installed, such as /local/rti/ndds/ndds.5.x.y)

Table 8.3 Running Instructions for Solaris Architectures

 

Library

 

RTI Architecture

Format

Environment Variables

(Release &

 

 

 

Debug)

 

 

 

 

 

 

 

 

 

LD_LIBRARY_PATH=

All supported Solaris

N/A

${NDDSHOME}/lib/<architecture>: ${LD_LIBRARY_PATH} a

architectures for Java

Note: For all 64-bit Java architectures (...64...jdk), use -d64 in the com-

 

 

 

mand line.

 

 

 

All supported Solaris

Static

None required

 

 

 

LD_LIBRARY_PATH=

native architectures

Dynamic

${NDDSHOME}/lib/<architecture>: ${LD_LIBRARY_PATH} a

 

 

a.${NDDSHOME} represents the root directory of your Connext installation. ${LD_LIBRARY_PATH} represents the value of the LD_LIBRARY_PATH variable prior to changing it to support Connext. When using nddsjava.jar, the Java virtual machine (JVM) will attempt to load release versions of the native libraries. When using nddsjavad.jar, the JVM will attempt to load debug versions of the native libraries.

41

 

 

 

Solaris Platforms

 

Table 8.4 Library-Creation Details for Solaris Architectures

 

 

 

 

 

 

 

RTI Architecture

Library

Compiler Flags Used by RTI

 

 

Format

 

 

 

 

 

 

 

 

 

 

 

 

Static

-D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__ -DSolaris2 -DSVR5

 

 

 

and

-DSUN4_SOLARIS2 -O -Wall -Wno-unknown-pragmas -fPIC -DRTS_UNIX

 

 

 

Dynamic

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=i386

 

 

i86Sol2.9gcc3.3.2a

Release

-DTARGET=\"i86Sol2.9gcc3.3.2\" -DNDEBUG -c -Wp,-MD -Wp

 

 

 

 

 

 

Static

-D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__ -DSolaris2 -DSVR5

 

 

 

 

 

 

and

-DSUN4_SOLARIS2 -g -O -Wall -Wno-unknown-pragmas -fPIC

 

 

 

Dynamic

-DRTS_UNIX -DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=i386

 

 

 

Debug

-DTARGET=\"i86Sol2.9gcc3.3.2\" -c -Wp,-MD -Wp

 

 

 

 

 

 

 

 

Static

-D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__ -DSolaris2 -DSVR5

 

 

 

and

 

 

 

-DSUN4_SOLARIS2 -KPIC -O +w -DRTS_UNIX -DPtrIntType=long

 

 

 

Dynamic

 

 

 

-DCPU=SPARC -DTARGET=\"sparcSol2.9cc5.4\" -DNDEBUG -c

 

 

 

Release

 

 

sparcSol2.9cc5.4

 

 

 

 

 

 

 

Static

-D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__ -DSolaris2 -DSVR5

 

 

 

 

 

 

and

 

 

 

-DSUN4_SOLARIS2 -KPIC -g +w -DRTS_UNIX -DPtrIntType=long

 

 

 

Dynamic

 

 

 

-DCPU=SPARC -DTARGET=\"sparcSol2.9cc5.4\" -c

 

 

 

Debug

 

 

 

 

 

 

 

 

 

 

 

 

Static

-D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__ -DSolaris2 -DSVR5

 

 

 

-DSUN4_SOLARIS2 -O -Wall -Woverloaded-virtual

 

 

 

and

 

 

 

-Wno-unknown-pragmas -DRTS_UNIX -DPtrIntType=long

 

 

 

Dynamic

 

 

 

-DCSREAL_IS_FLOAT -DCPU=SPARC

 

 

 

Release

 

 

sparcSol2.10gcc3.4.2a

-DTARGET=\"sparcSol2.10gcc3.4.2\" -DNDEBUG -c -Wp, -MD

 

 

 

 

 

 

 

 

 

Static

-D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__ -DSolaris2 -DSVR5

 

 

 

 

 

 

-DSUN4_SOLARIS2 -g -O -Wall -Woverloaded-virtual

 

 

 

and

 

 

 

-Wno-unknown-pragmas -DRTS_UNIX -DPtrIntType=long

 

 

 

Dynamic

 

 

 

-DCSREAL_IS_FLOAT -DCPU=SPARC

 

 

 

Debug

 

 

 

-DTARGET=\"sparcSol2.10gcc3.4.2\" -c -Wp,-MD

 

 

 

 

 

 

 

 

 

 

 

 

Static

-m64 -fPIC -D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__

 

 

 

and

-DSolaris2 -DSVR5 -DSUN4_SOLARIS2 -O -Wall -Wno-unknown-pragmas

 

 

 

Dynamic

-DRTS_UNIX -DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=SPARC

 

 

sparc64Sol2.10gcc3.4.2a

Release

-DTARGET=\"sparc64Sol2.10gcc3.4.2\" -DNDEBUG -c -Wp, -MD

 

 

 

 

 

 

Static

-m64 -fPIC -D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__

 

 

 

-DSolaris2 -DSVR5 -DSUN4_SOLARIS2 -g -O -Wall

 

 

 

and

 

 

 

-Wno-unknown-pragmas -DRTS_UNIX -DPtrIntType=long

 

 

 

Dynamic

 

 

 

-DCSREAL_IS_FLOAT -DCPU=SPARC

 

 

 

Debug

 

 

 

-DTARGET=\"sparc64Sol2.10gcc3.4.2\" -c -Wp, -MD

 

 

 

 

 

 

 

 

 

 

 

All supported Solaris

Dynamic

-target 1.4 -source 1.4

 

 

Release

 

 

architectures for Java

 

 

 

 

 

 

 

Dynamic

 

 

 

(*jdk)

-target 1.4 -source 1.4 -g

 

 

Debug

 

 

 

 

 

 

 

 

 

 

a.The C++ libnddscpp dynamic libraries were linked using g++; the C dynamic libraries, i.e. libnddscore and libnddsc, were linked using gcc.

8.1Support for Request-Reply Communication Pattern

RTI Connext Messaging includes support for the Request-Reply Communication Pattern, for all the platforms described in Table 8.1 on page 40 and all programming languages, except as noted below.

When using C++, the following platforms do not support the Request-Reply Communication Pattern:

sparcSol2.9cc5.4

42

Solaris Platforms

Table 8.5 Additional Libraries for using RTI Secure WAN Transport APIs on UNIX-based Systems

Library Format

RTI Secure WAN Transport Librariesa

OpenSSL Librariesb

 

 

 

Dynamic Release

libnddstransportwan.so

 

libnddstransporttls.so

 

 

 

 

 

 

Dynamic Debug

libnddstransportwand.so

 

libnddstransporttlsd.so

libssl.a

 

 

 

libcrypto.a

Static Release

libnddstransporttlsz.a

libnddstransporttlszd.a

 

 

 

 

 

 

Static Debug

libnddstransportwanz.a

 

libnddstransportwanzd.a

 

 

 

 

 

 

a.The libraries are located in <wan install dir>/lib/<architecture>/. (where <wan install dir> is where you installed RTI Secure WAN Transport, such as /local/rti/ndds.5.x.y)

b.These libraries are located <openssl install dir>/<architecture/lib, where <openssl install dir> is where you installed OpenSSL, such as /local/rti/openssl-0.9.8x.

8.2Multicast Support

Multicast is supported on Solaris platforms and is configured out of the box. That is, the default value for the initial peers list (NDDS_DISCOVERY_PEERS) includes a multicast address. See the online documentation for more information.

8.3Supported Transports

Shared memory: Supported and enabled by default.

UDPv4: Supported and enabled by default.

UDPv6: Supported for all Solaris 2.9 and 2.10 platforms. The transport is not enabled by default, and the peers list must be modified to support IPv6. Traffic Class support is only provided for Solaris 2.10 platforms.

TCP/IPv4: Not supported.

8.3.1Shared Memory Support

To see a list of shared memory resources in use, use the 'ipcs' command. To clean up shared memory and shared semaphore resources, use the 'ipcrm' command.

The shared memory keys used by Connext are in the range of 0x400000. For example:

ipcs -m | grep 0x4

The shared semaphore keys used by Connext are in the range of 0x800000; the shared mutex keys are in the range of 0xb00000. For example:

ipcs -s | grep 0x8 ipcs -s | grep 0xb

Please refer to the shared-memory transport online documentation for details on the shared memory and semaphore keys used by Connext.

8.3.2Increasing Available Shared Resources

Connext uses System V semaphores to manage shared memory communication. If you plan to run multiple Connext applications on the same node, at the same time, you may need to increase the number of available semaphores.

43

Solaris Platforms

Each Connext application that has shared memory enabled allocates 4 individual semaphores. The Solaris system defaults allow only 10 per host, which may not be enough (one is often used by the system, so you'll run out at the 3rd application).

To increase the number of semaphores available to Connext, change the values of the following two parameters in /etc/system. (Starting in Solaris 10, there is an alternate mechanism to control these values, but changing /etc/system will also work.) The following values are just an exam- ple:

set semsys:seminfo_semmni = 100 set semsys:seminfo_semmns = 100

If these parameters already exist in /etc/system, change their values; otherwise, add the above lines to your /etc/system file.

WARNING: Changing /etc/system should be done VERY carefully—incorrect editing of the file can render your system unbootable!

"System V" semaphores are allocated by creating groups of individual semaphores. The first parameter above controls the maximum number of semaphore groups and the second controls the maximum total number of semaphores (within any and all groups). Each Connext applica- tion that has shared memory enabled allocates 4 groups of 1 semaphore each (per domain). So setting the two values to the same number will work fine as far as Connext is concerned. How- ever, if other applications in the system want to allocate bigger groups, you could set "sem- sys:seminfo_semmns" larger than "semsys:seminfo_semmni." (Setting semmni bigger than semmns does not make any sense, since groups can't have less than 1 semaphore.)

In the absence of other applications using them, having 100 System V semaphores will allow you to use 25 domain ID/participant index combinations for Connext applications. You probably will not need to increase the shared memory parameters, since the default allows 100 shared memory areas, enough for 50 applications.

8.4Monotonic Clock Support

The monotonic clock (described in Section 8.6 in the RTI Core Libraries and Utilities User’s Manual) is supported on all Solaris architectures.

8.5Libraries Required for using RTI Secure WAN Transport APIs

This section is only relevant if you have installed RTI Secure WAN Transport. This feature is not part of the standard Connext package. If you choose to use it, it must be downloaded and installed separately. It is only available on specific architectures. See the RTI Secure WAN Trans-

port Release Notes and RTI Secure WAN Transport Release Notes Installation Guide for details. To use the WAN or Secure Transport APIs, link against the additional libraries from Table 8.5 on page 43. (Select the files appropriate for your chosen library format.)

8.6Thread Configuration

Table 8.6 lists the thread settings for Solaris platforms. Table 8.7 lists the thread-priority definitions.

8.6.1Support for Controlling CPU Core Affinity for RTI Threads

Support for controlling CPU core affinity (described in Section 19.5 in the RTI Core Libraries and Utilities User’s Manual) is not available for Solaris platforms.

8.7Durable Writer History and Durable Reader State Features

The Durable Writer History and Durable Reader State features are not supported on Solaris plat- forms.

44

 

 

 

Solaris Platforms

Table 8.6 Thread Settings for Solaris Platforms

 

 

 

 

 

 

Applicable Thread

DDS_ThreadSettings_t

Platform-Specific Setting

 

 

 

 

 

 

 

 

 

 

mask

OS default thread type

 

 

 

 

 

Asynchronous Publisher,

priority

OS default thread priority

 

Asynchronous flushing

stack_size

OS default thread stack size

 

thread

 

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

 

 

 

mask

DDS_THREAD_SETTINGS_STDIO

 

 

 

 

 

 

priority

OS default thread priority

 

Database thread

 

 

 

stack_size

OS default thread stack size

 

 

 

 

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

 

 

 

mask

DDS_THREAD_SETTINGS_STDIO |

 

 

DDS_THREAD_SETTINGS_FLOATING_POINT

 

 

 

 

 

 

 

 

Event thread

priority

OS default thread priority

 

 

 

 

stack_size

OS default thread stack size

 

 

 

 

 

 

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

 

 

 

mask

DDS_THREAD_SETTINGS_STDIO |

 

 

DDS_THREAD_SETTINGS_FLOATING_POINT

 

 

 

 

 

 

 

 

ReceiverPool threads

priority

OS default thread priority

 

 

 

 

stack_size

OS default thread stack size

 

 

 

 

 

 

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

 

Table 8.7 Thread-Priority Definitions for Solaris Platforms

 

 

 

 

Thread-Priority Definition

Operating-System Priority

 

 

 

 

THREAD_PRIORITY_DEFAULT

-9999999

 

 

 

 

THREAD_PRIORITY_HIGH

-9999999

 

 

 

 

THREAD_PRIORITY_ABOVE_NORMAL

-9999999

 

 

 

 

THREAD_PRIORITY_NORMAL

-9999999

 

 

 

 

THREAD_PRIORITY_BELOW_NORMAL

-9999999

 

 

 

 

THREAD_PRIORITY_LOW

-9999999

 

 

 

 

45

VxWorks Platforms

9 VxWorks Platforms

Table 9.1 lists the architectures supported on VxWorks operating systems. You can build a VxWorks application by cross-compiling from your development host.

Table 9.1 Supported VxWorks Target Platformsa

Operating System

CPU

Compiler

RTI Architecture

 

 

 

 

 

 

 

 

 

PPC 603

gcc 2.96

ppc603Vx5.5gcc

 

 

 

 

VxWorks 5.5

PPC 604

gcc 2.96

ppc604Vx5.5gcc

 

 

 

PPC 750

gcc 2.96

ppc603Vx5.5gcc

 

 

 

 

 

 

PPC 7400

gcc 2.96

ppc603Vx5.5gcc

 

 

 

 

 

Any PowerPC CPU with floating-

 

For kernel modules:

VxWorks 6.3, 6.4

point hardware that is backwards-

gcc 3.4.4

ppc604Vx6.3gcc3.4.4

compatible with 32-bit PowerPC

For Real Time Processes:

 

 

 

604b

 

ppc604Vx6.3gcc3.4.4_rtp

 

Any PowerPC CPU with floating-

 

For kernel modules:

VxWorks 6.5

point hardware that is backwards-

gcc 3.4.4

ppc604Vx6.5gcc3.4.4

compatible with 32-bit PowerPC

For Real Time Processes:

 

 

 

604b

 

ppc604Vx6.5gcc3.4.4_rtp

 

 

 

For Kernel Modules:

 

Pentium

gcc 4.1.2

pentiumVx6.6gcc4.1.2

 

For Real Time Processes:

 

 

 

 

 

 

pentiumVx6.6gcc4.1.2_rtp

 

 

 

 

 

Any PowerPC CPU with floating-

 

For Kernel Modules:

VxWorks 6.6

point hardware that is backwards-

gcc 4.1.2

ppc604Vx6.6gcc4.1.2

compatible with 32-bit PowerPC

For Real Time Processes:

 

 

 

604b

 

ppc604Vx6.6gcc4.1.2_rtp

 

 

 

For Kernel Modules:

 

PPC 405b

gcc 4.1.2

ppc405Vx6.6gcc4.1.2

 

For Real Time Processes:

 

 

 

 

 

 

ppc405Vx6.6gcc4.1.2_rtp

 

 

 

 

 

 

 

For Kernel Modules:

 

Pentium

gcc 4.1.2

pentiumVx6.7gcc4.1.2

 

For Real Time Processes:

 

 

 

 

 

 

pentiumVx6.7gcc4.1.2_rtp

 

 

 

 

 

 

 

For Kernel Modules:

 

 

 

ppc604Vx6.7gcc4.1.2

 

Any PowerPC CPU with floating-

 

For Real Time Processes

VxWorks 6.7

point hardware that is backwards-

gcc 4.1.2

on non-SMP systems:

compatible with 32-bit PowerPC

ppc604Vx6.7gcc4.1.2_rtp

 

 

 

604b

 

For Real Time Processes

 

 

 

 

 

 

on SMP systems:

 

 

 

ppc604Vx6.7gcc4.1.2_smp

 

 

 

 

 

 

 

For Kernel Modules:

 

PPC 405c

gcc 4.1.2

ppc405Vx6.7gcc4.1.2

 

For Real Time Processes:

 

 

 

 

 

 

ppc405Vx6.7gcc4.1.2_rtp

 

 

 

 

46

 

 

 

 

VxWorks Platforms

 

Table 9.1 Supported VxWorks Target Platformsa

 

 

 

 

Operating System

CPU

Compiler

RTI Architecture

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

For Kernel Modules:

 

 

 

Pentium

gcc 4.1.2

pentiumVx6.8gcc4.1.2

 

 

 

For Real Time Processes:

 

 

 

 

 

 

 

VxWorks 6.8

 

 

pentiumVx6.8gcc4.1.2_rtp

 

 

 

 

 

 

 

Any PowerPC CPU with floating-

 

For Kernel Modules:

 

 

 

 

 

 

 

point hardware that is backwards-

gcc 4.1.2

ppc604Vx6.8gcc4.1.2

 

 

 

compatible with 32-bit PowerPC

For Real Time Processes:

 

 

 

 

 

 

 

604b

 

ppc604Vx6.8gcc4.1.2_rtp

 

 

 

 

 

For Kernel Modules:

 

 

 

Pentium32-bit

gcc 4.3.3

pentiumVx6.9gcc4.3.3

 

 

 

For Real Time Processes:

 

 

 

 

 

 

 

VxWorks 6.9

 

 

pentiumVx6.9gcc4.3.3_rtp

 

 

 

 

 

 

 

Any PowerPC CPU with floating-

 

For Kernel Modules:

 

 

 

 

 

 

 

point hardware that is backwards-

gcc 4.3.3

ppc604Vx6.9gcc4.3.3

 

 

 

compatible with 32-bit PowerPC

For Real Time Processes:

 

 

 

 

 

 

 

604b

 

ppc604Vx6.9gcc4.3.3_rtp

 

 

VxWorks 653 2.3

sbc8641d

gcc 3.3.2

sbc8641Vx653-2.3gcc3.3.2

 

 

 

 

 

 

 

SIMPC

gcc 3.3.2

simpcVx653-2.3gcc3.3.2

 

 

 

 

 

 

 

 

 

 

 

VxWorks MILS 2.1.1

ppc85xx

gcc 3.3.2

ppc85xxVxT2.2.3gcc3.3.2

 

 

with vThreads 2.2.3

 

 

 

 

 

 

 

 

 

 

 

 

a.For use with Windows and/or Solaris Hosts as supported by Wind River Systems.

b.Some PowerPC cores such as e500v1 and e500v2 are not fully backwards-compatible with PPC 604.

c.For ppc405, the architecture string is the same for VxWorks 6.6 and 6.7.

The following tables list the libraries you will need to link into your application and the required compiler flags:

Table 9.6, “Building Instructions for VxWorks 5.x and 6.x Architectures,” on page 52

Table 9.7, “Building Instructions for VxWorks 653 Architectures,” on page 53

Table 9.8, “Building Instructions for VxWorks MILS Architectures,” on page 54

Compiling a Connext application for VxWorks depends on the development platform. For more information, such as specific compiler flags, see the VxWorks Programmer’s Guide. Table 9.9 on page 55 provides details on how the VxWorks libraries were built. We recommend that you use similar settings.

Cross-compiling for any VxWorks platform is similar to building for a UNIX target. To build a VxWorks application, create a makefile that reflects the compiler and linker for your target with appropriate flags defined. There will be several target-specific compile flags you must set to build correctly. For more information, see the VxWorks Programmer’s Guide.

9.1Support for Request-Reply Communication Pattern

RTI Connext Messaging includes support for the Request-Reply Communication Pattern, for all the platforms described in Table 9.1 on page 46 and all programming languages, except as noted below.

47

VxWorks Platforms

When using C++, the following platforms do not support the Request-Reply Communication Pattern:

ppc603Vx5.5gcc

ppc604Vx5.5gcc

When using a Connext Messaging library for C++ Request-Reply for kernel-mode, you need to perform an extra host processing step called munching and apply it to any application that is linking against the C++ Request-Reply library.

In VxWorks kernel-mode, before a C++ module can be downloaded to the VxWorks kernel, it must undergo an additional host processing step, known as munching. This step is necessary for properly initialization of static objects and to ensure that the C++ run-time support calls the cor- rect constructor/destructors in the correct order for all static objects.

If you need to use the C++ Request-Reply API for kernel-mode, you need to munch your appli- cation and link or load the Connext Messaging library for C++ request/reply, in addition to the standard Connext libraries for core, C, and C++.

RTI provides pre-munched Connext Messaging libraries for C++ Request-Reply with the exten- sion “.lo”. For example, if you plan to load your application at run-time for kernel-mode and your application uses the Request-Reply API for C++, assuming you want to use non-debug libraries, you need to first load the libnddscore.so library, then libnddsc.so, then libnddscpp.so, and finally librticonnextmsgcpp.lo. Once all these libraries are loaded, you can load your munched C++ application.

The following table shows the libraries for which RTI has peformed the munching process.

Table 9.2 Pre-Munched Kernel-mode C++ Request-Reply Libraries

Library

Description

 

 

librticonnextmsgcpp.lo

Munched Release C++ Request-Reply library

 

 

librticonnextmsgcppd.lo

Munched Debug C++ Request-Reply library

 

 

9.2Increasing the Stack Size

Connext applications may require more than the default stack size on VxWorks.

To prevent stack overrun, you can create/enable the DomainParticipant in a thread with a larger stack, or increase the default stack size of the shell task by recompiling the kernel. For more information, please see the Solutions on the RTI Customer Portal, accessible from https:// support.rti.com/.

9.3Libraries for RTP Mode on VxWorks 6.3 and Higher Systems

Dynamic libraries are not available for VxWorks 6.3 and higher systems with Real Time Processes (RTP mode) on PowerPC (PPC) CPUs. This is due to a platform limitation in VxWorks PPC platforms that puts an upper bound on the size of the Global Offset Table (a.k.a. the "GOT") for any single library, which limits how many symbols the library can export. Some Connext libraries (in particular, libnddsc) export a number of symbols that exceed this upper bound.

Dynamic libraries are available for VxWorks 6.3 and higher systems with RTP mode on Pentimum CPUs.

48

VxWorks Platforms

9.4Requirement for Restarting Applications

When restarting a VxWorks application, you may need to change the ‘appId’ value. In general, this is only required if you still have other Connext applications running on other systems that were talking to the restarted application. If all the Connext applications are restarted, there should be no problem.

This section explains why this is necessary and how to change the appId.

All Connext applications must have a unique GUID (globally unique ID). This GUID is composed of a hostId and an appId. RTI implements unique appIds by using the process ID of the application. On VxWorks systems, an application’s process ID will often be the same across reboots. This may cause logged errors during the discovery process, or discovery may not complete successfully for the restarted application.

The workaround is to manually provide a unique appId each time the application starts. The appId is stored in the DomainParticipant’s WireProtocol QosPolicy. There are two general approaches to providing a unique appId. The first approach is to save the appId in NVRAM or the file system, and then increment the appId across reboots. The second approach is to base the appId on something that is likely to be different across reboots, such as a time-based register.

9.5Multicast Support

Multicast is supported on VxWorks 5.x and 6.x; VxWorks 653 (except as noted below); and VxWorks MILS platforms. It is configured out of the box. That is, the default value for the initial peers list (NDDS_DISCOVERY_PEERS) includes a multicast address. See the online documenta- tion for more information.

Multicast is not supported on the following platforms:

simpcVx653-2.3gcc3.3.2

9.6Supported Transports

Shared memory: Shared memory is supported and enabled by default on all VxWorks 6.x archi- tectures. It is not supported on VxWorks 5.x, VxWorks 653, or VxWorks MILS platforms. For instructions on how to run Connext libraries in kernels that are built without shared-memory support, refer to Section 9.6.1.

UDPv4: Supported and enabled by default.

UDPv6: Supported on VxWorks 6.7 and higher architectures except as noted below. No Traffic Class support.

TCP/IPv4: Not supported.

9.6.1How to Run Connext Libraries in Kernels Built without Shared Memory

Since Connext libraries support shared memory as a built-in transport, building a kernel without shared-memory support will cause loading or linking errors, depending on whether the Connext libraries are loaded after boot, or linked at kernel build time.

The most straightforward way to fix these errors is to include shared-memory support in the kernel ( INCLUDE_SHARED_DATA in the kernel build parameters ).

However, in some versions of VxWorks, it is not possible to include shared-memory support without also including RTP support. If you are unwilling or unable to include shared-memory support in your configuration, you will need to do the following:

1.Add the component INCLUDE_POSIX_SEM

49

VxWorks Platforms

2.Define stubs that return failure for the missing symbols sdOpen and sdUnmap as described below:

For sdOpen, we recommend providing an implementation that returns NULL, and sets errno to ENOSYS. For the function prototype, refer to the file sdLib.h in the VxWorks distribution.

For sdUnmap, we recommend providing an implementation that returns ERROR and sets errno to ENOSYS. For the function prototype, refer to the file sdLibCom- mon.h in the VxWorks distribution.

In addition to providing the symbol stubs for sdOpen and sdUnmap, we also recommend dis- abling the SHMEM transport by using the transport_builtin mask in the QoS configuration.

9.7Monotonic Clock Support

The monotonic clock (described in Section 8.6 in the RTI Core Libraries and Utilities User’s Manual) is supported on VxWorks 6.3 and higher architectures. This feature is not supported on VxWorks 653 2.3 or VxWorks MILS platforms.

9.8Thread Configuration

Table 9.3 lists the thread settings for VxWorks platforms.

Table 9.4 and Table 9.5 list the thread-priority definitions and thread kinds, respectively.

9.8.1Support for Controlling CPU Core Affinity for RTI Threads

Support for controlling CPU core affinity (described in Section 19.5 in the RTI Core Libraries and Utilities User’s Manual) is not available for VxWorks platforms.

Table 9.3 Thread Setting for VxWorks Platforms (Applies to Kernel Tasks or Real-Time Process Threads)

Applicable Thread

DDS_ThreadSettings_t

Platform-Specific Setting

 

 

 

 

mask

OS default thread type

 

 

 

Asynchronous Publisher,

priority

110

Asynchronous flushing

stack_size

4*16*1024

thread

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

 

mask

DDS_THREAD_SETTINGS_STDIO

 

 

 

 

priority

120

Database thread

 

 

stack_size

16*1024

 

 

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

 

mask

DDS_THREAD_SETTINGS_STDIO |

 

DDS_THREAD_SETTINGS_FLOATING_POINT

 

 

 

 

 

Event thread

priority

110

 

 

stack_size

4*16*1024

 

 

 

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

50

VxWorks Platforms

Table 9.3 Thread Setting for VxWorks Platforms (Applies to Kernel Tasks or Real-Time Process Threads)

 

Applicable Thread

DDS_ThreadSettings_t

Platform-Specific Setting

 

 

 

 

 

 

 

 

 

 

mask

DDS_THREAD_SETTINGS_STDIO |

 

 

DDS_THREAD_SETTINGS_FLOATING_POINT

 

 

 

 

 

 

 

 

ReceiverPool threads

priority

71

 

 

 

 

stack_size

4*16*1024

 

 

 

 

 

 

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

 

Table 9.4 Thread-Priority Definitions for VxWorks Platforms

 

 

 

 

Thread-Priority Definition

Operating-System Priority

 

 

 

 

 

 

 

THREAD_PRIORITY_DEFAULT

100

 

 

 

 

THREAD_PRIORITY_HIGH

68

 

 

 

 

THREAD_PRIORITY_ABOVE_NORMAL

71

 

 

 

 

THREAD_PRIORITY_NORMAL

100

 

 

 

 

THREAD_PRIORITY_BELOW_NORMAL

110

 

 

 

 

THREAD_PRIORITY_LOW

120

 

 

 

Table 9.5 Thread Kinds for VxWorks Platforms

 

 

 

 

 

Thread Kinds

Operating-System Configurationa

 

 

 

 

DDS_THREAD_SETTINGS_FLOATING_POINT

Uses VX_FP_TASK when calling taskSpawn()

 

 

 

 

 

DDS_THREAD_SETTINGS_STDIO

Uses VX_STDIO when calling taskSpawn()

 

(Kernel mode only)

 

 

 

 

 

 

 

DDS_THREAD_SETTINGS_REALTIME_PRIORITY

Configures the schedule policy to SCHED_FIFO.

 

 

 

 

DDS_THREAD_SETTINGS_PRIORITY_ENFORCE

N/A

 

 

 

 

a.See VxWorks manuals for additional information.

9.9Durable Writer History and Durable Reader State Features

The Durable Writer History and Durable Reader State features are not supported on VxWorks platforms.

9.10Increasing the Receive Socket Buffer Size

For Connext applications running on VxWorks 6.7 or higher systems and using UDPv4, we rec- ommend setting the property dds.transport.UDPv4.builtin.recv_socket_buffer_size to a value of 128000 or higher. This recommendation is due to Wind River's usage of extra receive socket buffer space to correct Wind River defect number WIND00135312.

51

VxWorks Platforms

Table 9.6 Building Instructions for VxWorks 5.x and 6.x Architectures

API

Library

Required RTI Librariesa

Required

Required

 

Format

 

Kernel Components

Compiler Flags

 

 

 

 

 

 

 

libnddscppz.a

 

 

 

Static

libnddscz.a

 

 

 

libnddscorez.a

 

 

 

Release

 

 

 

For Connext Messaging, also include:

INCLUDE_TIMESTAMP

 

 

 

 

 

 

librticonnextmsgcppz.a

 

 

 

 

 

 

 

 

 

libnddscppzd.a

For VxWorks 6.4 and below,

 

 

Static

libnddsczd.a

also use:

 

 

libnddscorezd.a

INCLUDE_ZBUF_SOCK

 

 

Debug

 

 

For Connext Messaging, also include:

INCLUDE_IGMP

 

 

 

 

C++

 

librticonnextmsgcppzd.a

 

-DRTI_VXWORKS

 

 

For VxWorks 6.3 and higher,

 

libnddscpp.so

 

 

 

 

 

also use:

 

 

 

libnddsc.so

 

 

Dynamic

INCLUDE_POSIX_CLOCKS

 

 

libnddscore.so

 

 

 

 

 

Release

For Connext Messaging, also include:

 

 

 

 

For RTI architectures with

 

 

 

librticonnextmsgcpp.so

SMP support for VxWorks 6.7

 

 

 

libnddscppd.so

and higherb, also use:

 

 

Dynamic

libnddscd.so

INCLUDE_TLS

 

 

libnddscored.so

 

 

 

Debug

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgcppd.so

 

 

 

 

 

 

 

 

 

libnddscz.a

 

 

 

Static

libnddscorez.a

INCLUDE_TIMESTAMP

 

 

Release

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgcz.a

For VxWorks 6.4 and below,

 

 

 

 

 

 

 

libnddsczd.a

also use:

 

 

Static

libnddscorezd.a

INCLUDE_ZBUF_SOCK

 

 

Debug

For Connext Messaging, also include:

INCLUDE_IGMP

 

 

 

 

 

 

 

 

C

 

librticonnextmsgczd.a

 

-DRTI_VXWORKS

 

 

For VxWorks 6.3 and higher,

 

libnddsc.so

 

 

 

 

 

also use:

 

 

Dynamic

libnddscore.so

 

 

INCLUDE_POSIX_CLOCKS

 

 

Release

 

 

 

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgc.so

For RTI architectures with

 

 

 

 

 

 

 

libnddscd.so

SMP support for VxWorks 6.7

 

 

Dynamic

libnddscored.so

and higherb, also use:

 

 

Debug

For Connext Messaging, also include:

INCLUDE_TLS

 

 

 

 

 

 

 

librticonnextmsgcd.so

 

 

 

 

 

 

 

a.The Connext C/C++ libraries are located in $(NDDSHOME)\lib\<architecture>\. (where $(NDDSHOME) is where Connext is installed, such as c:\rti\ndds.5.x.y)

b.In this version, only ppc604Vx6.7gcc4.1.2_smp

52

VxWorks Platforms

Table 9.7 Building Instructions for VxWorks 653 Architectures

 

 

 

 

 

 

 

 

 

 

 

 

libnddscppz.a

 

 

 

Static

libnddscz.a

 

 

 

libnddscorez.a

 

 

 

Release

 

 

 

 

 

 

 

 

For Connext Messaging, also include:

 

 

 

 

librticonnextmsgcppz.a

 

 

 

 

 

 

 

 

 

libnddscppzd.a

 

 

 

Static

libnddsczd.a

 

 

 

libnddscorezd.a

 

 

 

Debug

 

 

 

 

 

 

 

 

For Connext Messaging, also include:

 

 

 

 

librticonnextmsgcppzd.a

 

 

 

 

 

 

 

 

 

libnddscpp.so

 

 

 

Dynamic

libnddsc.so

 

 

 

libnddscore.so

 

 

 

Release

For Connext Messaging, also include:

 

 

 

 

See either:

 

 

 

librticonnextmsgcpp.so

Table 9.10, “Required Kernel

 

 

 

libnddscppd.so

 

 

 

Components for

 

 

Dynamic

libnddscd.so

sbc8641Vx653-2.3gcc3.3.2,”

 

 

libnddscored.so

on page 61

-DRTI_VXWORKS

 

Debug

For Connext Messaging, also include:

or

-DRTI_VX653

 

 

 

 

librticonnextmsgcppd.so

Table 9.11, “Required Kernel

 

 

 

 

Components for

 

 

 

libnddscz.a

 

 

 

simpcVx653-2.3gcc3.3.2,” on

 

 

Static

libnddscorez.a

 

 

page 62

 

 

Release

 

 

 

For Connext Messaging, also include:

Required

Required

 

 

 

 

librticonnextmsgcz.a

 

 

 

 

 

libnddsczd.a

 

Static

libnddscorezd.a

 

Debug

For Connext Messaging, also include:

 

 

 

 

librticonnextmsgczd.a

 

 

 

 

 

libnddsc.so

 

Dynamic

libnddscore.so

 

Release

For Connext Messaging, also include:

 

 

 

 

librticonnextmsgc.so

 

 

 

 

 

libnddscd.so

 

Dynamic

libnddscored.so

 

Debug

For Connext Messaging, also include:

API

Library

librticonnextmsgcd.so

Required RTI Librariesa

 

Format

 

Kernel Components

Compiler Flags

C++

 

 

 

 

C

 

 

 

 

 

 

 

 

 

a.The Connext C/C++ libraries are located in $(NDDSHOME)\lib\<architecture>\. (where $(NDDSHOME) is where Connext is installed, such as c:\rti\ndds.5.x.y)

53

VxWorks Platforms

Table 9.8 Building Instructions for VxWorks MILS Architectures

API

Library

Required RTI Librariesa

Required

Required

 

Format

 

Kernel Components

Compiler Flags

 

 

 

 

 

 

 

libnddscppz.a

 

 

 

Static

libnddscz.a

 

 

 

libnddscorez.a

 

 

 

Release

 

 

 

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgcppz.a

 

 

 

 

 

 

 

 

 

libnddscppzd.a

 

 

 

Static

libnddsczd.a

 

 

 

libnddscorezd.a

 

 

 

Debug

 

 

 

For Connext Messaging, also include:

 

 

 

 

 

 

C++

 

librticonnextmsgcppzd.a

 

 

 

 

 

 

 

libnddscpp.so

 

 

 

 

 

 

 

Dynamic

libnddsc.so

 

 

 

libnddscore.so

 

 

 

Release

 

 

 

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgcpp.so

The MILS 2.1.1 patch that

 

 

 

 

 

 

 

libnddscppd.so

 

 

 

corrects defect number

 

 

 

libnddscd.so

 

 

Dynamic

WIND00343321 must be

 

 

libnddscored.so

installed for Connext

 

 

Debug

 

 

For Connext Messaging, also include:

libraries to work on a

-DRTI_VXWORKS

 

 

 

 

MILS 2.1.1 system. This

 

 

 

librticonnextmsgcppd.so

 

 

 

patch can be obtained

 

 

 

 

 

 

 

libnddscz.a

through the regular Wind

 

 

Static

libnddscorez.a

River support channel.

 

 

Release

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgcz.a

 

 

 

 

 

 

 

 

 

libnddsczd.a

 

 

 

Static

libnddscorezd.a

 

 

 

Debug

For Connext Messaging, also include:

 

 

 

 

 

 

C

 

librticonnextmsgczd.a

 

 

 

 

 

 

 

libnddsc.so

 

 

 

 

 

 

 

Dynamic

libnddscore.so

 

 

 

Release

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgc.so

 

 

 

 

 

 

 

 

 

libnddscd.so

 

 

 

Dynamic

libnddscored.so

 

 

 

Debug

For Connext Messaging, also include:

 

 

 

 

 

 

 

 

librticonnextmsgcd.so

 

 

 

 

 

 

 

a.The Connext C/C++ libraries are located in $(NDDSHOME)\lib\<architecture>\. (where $(NDDSHOME) is where Connext is installed, such as c:\rti\ndds.5.x.y)

54

 

 

VxWorks Platforms

 

Table 9.9 Library-Creation Details for All VxWorks Architectures

 

 

 

 

 

RTI Architecture

Library

Compiler Flags Used by RTI

 

Format

 

 

 

 

 

 

 

 

 

 

-march=pentium -fno-builtin -ansi -DTOOL=gnu -D_WRS_KERNEL

 

 

Static or

-D_PROTOTYPE_5_0 -DVXWORKS_MAJOR_VERSION=6

 

 

Dynamic

-DVXWORKS_MINOR_VERSION=6 -O -Wall -Wno-unknown-pragmas

 

 

Release

-DRTS_VXWORKS -DTOOL_FAMILY=gnu -DPtrIntType=long -DCPU=PENTIUM

 

pentiumVx6.6gcc4.1.2

 

-DNDEBUG -c -Wp,-MD

 

 

 

 

 

-march=pentium -fno-builtin -ansi -DTOOL=gnu -D_WRS_KERNEL

 

 

 

 

 

Static or

-D_PROTOTYPE_5_0 -g -DVXWORKS_MAJOR_VERSION=6

 

 

Dynamic

-DVXWORKS_MINOR_VERSION=6 -O -Wall -Wno-unknown-pragmas

 

 

Debug

-DRTS_VXWORKS -DTOOL_FAMILY=gnu -DPtrIntType=long -DCPU=PENTIUM

 

 

 

-c -Wp,-MD

 

 

 

 

 

 

 

-march=i486 -ansi -DTOOL=gnu -mrtp -D_PROTOTYPE_5_0

 

 

Static

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=6 -O -Wall

 

 

Release

-Wno-unknown-pragmas -DRTS_VXWORKS -DTOOL_FAMILY=gnu

 

 

 

-DPtrIntType=long -DCPU=PENTIUM -DNDEBUG -c -Wp,-MD

 

 

 

 

 

 

 

-march=i486 -ansi -DTOOL=gnu -mrtp -D_PROTOTYPE_5_0 -g

 

 

Static

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=6 -O -Wall

 

 

Debug

-Wno-unknown-pragmas -DRTS_VXWORKS -DTOOL_FAMILY=gnu

 

pentiumVx6.6gcc4.1.2_rtp

 

-DPtrIntType=long -DCPU=PENTIUM -c -Wp,-MD

 

 

 

 

 

-march=i486 -ansi -DTOOL=gnu -mrtp -D_PROTOTYPE_5_0 -fPIC

 

 

 

 

 

Dynamic

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=6 -O -Wall

 

 

Release

-Wno-unknown-pragmas -DRTS_VXWORKS -DTOOL_FAMILY=gnu

 

 

 

-DPtrIntType=long -DCPU=PENTIUM -DNDEBUG -c -Wp,-MD

 

 

 

 

 

 

 

-march=i486 -ansi -DTOOL=gnu -mrtp -D_PROTOTYPE_5_0 -fPIC -g

 

 

Dynamic

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=6 -O -Wall

 

 

Debug

-Wno-unknown-pragmas -DRTS_VXWORKS -DTOOL_FAMILY=gnu

 

 

 

-DPtrIntType=long -DCPU=PENTIUM -c -Wp,-MD

 

 

 

 

 

 

 

-march=pentium -fno-builtin -ansi -DTOOL=gnu -D_WRS_KERNEL

 

 

Static or

-D_PROTOTYPE_5_0 -DVXWORKS_MAJOR_VERSION=6

 

 

Dynamic

-DVXWORKS_MINOR_VERSION=7 -O -Wall -Wno-unknown-pragmas

 

 

Release

-DRTS_VXWORKS -DTOOL_FAMILY=gnu -DPtrIntType=long -DCPU=PENTIUM

 

pentiumVx6.7gcc4.1.2

 

-DNDEBUG -c -Wp,-MD

 

 

 

 

 

-march=pentium -fno-builtin -ansi -DTOOL=gnu -D_WRS_KERNEL

 

 

 

 

 

Static or

-D_PROTOTYPE_5_0 -g -DVXWORKS_MAJOR_VERSION=6

 

 

Dynamic

-DVXWORKS_MINOR_VERSION=7 -O -Wall -Wno-unknown-pragmas

 

 

Debug

-DRTS_VXWORKS -DTOOL_FAMILY=gnu -DPtrIntType=long -DCPU=PENTIUM

 

 

 

-c -Wp,-MD

 

 

 

 

 

 

 

-march=i486 -ansi -DTOOL=gnu -mrtp -D_PROTOTYPE_5_0

 

 

Static

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=7

 

 

Release

-O -Wall -Wno-unknown-pragmas -DRTS_VXWORKS -DTOOL_FAMILY=gnu

 

 

 

-DPtrIntType=long -DCPU=PENTIUM -DNDEBUG -c -Wp,-MD

 

 

 

 

 

 

 

-march=i486 -ansi -DTOOL=gnu -mrtp -D_PROTOTYPE_5_0 -g

 

 

Static

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=7 -O -Wall

 

 

Debug

-Wno-unknown-pragmas -DRTS_VXWORKS -DTOOL_FAMILY=gnu

 

pentiumVx6.7gcc4.1.2_rtp

 

-DPtrIntType=long -DCPU=PENTIUM -c -Wp,-MD

 

 

 

 

 

-march=i486 -ansi -DTOOL=gnu -mrtp -D_PROTOTYPE_5_0 -fPIC

 

 

 

 

 

Dynamic

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=7 -O -Wall

 

 

Release

-Wno-unknown-pragmas -DRTS_VXWORKS -DTOOL_FAMILY=gnu

 

 

 

-DPtrIntType=long -DCPU=PENTIUM -DNDEBUG -c -Wp,-MD

 

 

 

 

 

 

 

-march=i486 -ansi -DTOOL=gnu -mrtp -D_PROTOTYPE_5_0 -fPIC -g

 

 

Dynamic

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=7 -O -Wall

 

 

Debug

-Wno-unknown-pragmas -DRTS_VXWORKS -DTOOL_FAMILY=gnu

 

 

 

-DPtrIntType=long -DCPU=PENTIUM -c -Wp,-MD

 

 

 

 

 

55

VxWorks Platforms

Table 9.9 Library-Creation Details for All VxWorks Architectures

RTI Architecture

Library

Compiler Flags Used by RTI

Format

 

 

 

 

 

 

 

 

 

 

ccpentium -m32 -march=pentium -fno-builtin -ansi -DCPU=PENTIUM

 

Static or

-DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL -D__PROTOTYPE_5_0

 

Dynamic

-O -DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=8 -Wall

 

Release

-Wno-unknown-pragmas -DRTS_VXWORKS -DPtrIntType=long

pentiumVx6.8gcc4.1.2

 

-DCSREAL_IS_FLOAT -DNDEBUG -Wp,-MD

 

 

 

ccpentium -m32 -march=pentium -fno-builtin -ansi -DCPU=PENTIUM

 

 

 

Static or

-DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL -D__PROTOTYPE_5_0 -g

 

Dynamic

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=8 -Wall

 

Debug

-Wno-unknown-pragmas -DRTS_VXWORKS -DPtrIntType=long

 

 

-DCSREAL_IS_FLOAT -Wp,-MD

 

 

 

 

 

ccpentium -m32 -march=pentium -ansi -DCPU=PENTIUM -DTOOL_FAMILY=gnu

 

Static or

-DTOOL=gnu -mrtp -D__PROTOTYPE_5_0 -O -Wall -Wno-unknown-pragmas

 

Dynamic

-DRTS_VXWORKS -DVXWORKS_MAJOR_VERSION=6

 

Release

-DVXWORKS_MINOR_VERSION=8 -DPtrIntType=long -DCSREAL_IS_FLOAT

pentiumVx6.8gcc4.1.2_rtp

 

-DNDEBUG -Wp,-MD

 

 

 

ccpentium -m32 -march=pentium -ansi -DCPU=PENTIUM -DTOOL_FAMILY=gnu

 

 

 

Static or

-DTOOL=gnu -mrtp -D__PROTOTYPE_5_0 -g -Wall -Wno-unknown-pragmas

 

Dynamic

-DRTS_VXWORKS -DVXWORKS_MAJOR_VERSION=6

 

Debug

-DVXWORKS_MINOR_VERSION=8 -DPtrIntType=long -DCSREAL_IS_FLOAT

 

 

-Wp,-MD

 

 

 

 

 

ccpentium -m32 -march=pentium -fno-builtin -ansi -DCPU=PENTIUM

 

Static or

-DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL -D__PROTOTYPE_5_0 -O

 

Dynamic

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=9 -Wall

 

Release

-Wno-unknown-pragmas -DRTS_VXWORKS -DPtrIntType=long

pentiumVx6.9gcc4.3.3

 

-DCSREAL_IS_FLOAT -DNDEBUG -Wp,-MD

 

 

 

ccpentium -m32 -march=pentium -fno-builtin -ansi -DCPU=PENTIUM

 

 

 

Static or

-DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL -D__PROTOTYPE_5_0 -g

 

Dynamic

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=9 -Wall

 

Debug

-Wno-unknown-pragmas -DRTS_VXWORKS -DPtrIntType=long

 

 

-DCSREAL_IS_FLOAT -DCPU=PENTIUM -Wp,-MD

 

 

 

 

 

ccpentium -m32 -march=pentium -ansi -DCPU=PENTIUM -DTOOL_FAMILY=gnu

 

Static or

-DTOOL=gnu -mrtp -D__PROTOTYPE_5_0 -O -Wall -Wno-unknown-pragmas

 

Dynamic

-DRTS_VXWORKS -DVXWORKS_MAJOR_VERSION=6

 

Release

-DVXWORKS_MINOR_VERSION=9 -DPtrIntType=long -DCSREAL_IS_FLOAT

pentiumVx6.9gcc4.3.3_rtp

 

-DNDEBUG -Wp,-MD

 

 

 

ccpentium -m32 -march=pentium -ansi -DCPU=PENTIUM -DTOOL_FAMILY=gnu

 

 

 

Static or

-DTOOL=gnu -mrtp -D__PROTOTYPE_5_0 -g -Wall -Wno-unknown-pragmas

 

Dynamic

-DRTS_VXWORKS -DVXWORKS_MAJOR_VERSION=6

 

Debug

-DVXWORKS_MINOR_VERSION=9 -DPtrIntType=long -DCSREAL_IS_FLOAT

 

 

-Wp,-MD

 

 

 

 

 

-mcpu=405 -fno-builtin -mlongcall -DTOOL=gnu -mstrict-align -msoft-float

 

Static or

-ansi -D_WRS_KERNEL -D_PROTOTYPE_5_0 -DVXWORKS_MAJOR_VERSION=6

 

Dynamic

-DVXWORKS_MINOR_VERSION=6 -O -Wall -Wno-unknown-pragmas

 

Release

-DRTS_VXWORKS -DTOOL=gnu -DTOOL_FAMILY=gnu -DPtrIntType=long

ppc405Vx6.6gcc4.1.2

 

-DCPU=PPC405 -DNDEBUG -c -Wp,-MD

 

 

 

-mcpu=405 -fno-builtin -mlongcall -DTOOL=gnu -mstrict-align -msoft-float

 

 

 

Static or

-ansi -D_WRS_KERNEL -D_PROTOTYPE_5_0 -g

 

Dynamic

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=6 -O -Wall

 

Debug

-Wno-unknown-pragmas -DRTS_VXWORKS -DTOOL=gnu

 

 

-DTOOL_FAMILY=gnu -DPtrIntType=long -DCPU=PPC405 -c -Wp,-MD

 

 

 

56

VxWorks Platforms

Table 9.9 Library-Creation Details for All VxWorks Architectures

RTI Architecture

Library

Compiler Flags Used by RTI

Format

 

 

 

 

 

 

 

 

 

 

-msoft-float -mlongcall -mregnames -mstrict-align -ansi -DTOOL=gnu -mrtp

 

Static

-D_PROTOTYPE_5_0 -DVXWORKS_MAJOR_VERSION=6

 

-DVXWORKS_MINOR_VERSION=6 -O -Wall -Wno-unknown-pragmas

 

Release

 

-DRTS_VXWORKS -DTOOL=sfgnu -DTOOL_FAMILY=gnu -DPtrIntType=long

 

 

ppc405Vx6.6gcc4.1.2_rtp

 

-DCPU=PPC32 -DNDEBUG -c -Wp,-MD

 

 

 

-msoft-float -mlongcall -mregnames -mstrict-align -ansi -DTOOL=gnu -mrtp -fPIC

 

 

 

Static

-shared -D_PROTOTYPE_5_0 -g -DVXWORKS_MAJOR_VERSION=6

 

-DVXWORKS_MINOR_VERSION=6 -O -Wall -Wno-unknown-pragmas

 

Debug

 

-DRTS_VXWORKS -DTOOL=sfgnu -DTOOL_FAMILY=gnu -DPtrIntType=long

 

 

 

 

-DCPU=PPC32 -c -Wp,-MD

 

 

 

 

Static or

-mcpu=603 -G 0 -fno-builtin -mlongcall -D__PROTOTYPE_5_0

 

-DVXWORKS_MAJOR_VERSION=5 -DVXWORKS_MINOR_VERSION=5 -O -Wall

 

Dynamic

 

-Wno-unknown-pragmas -DRTS_VXWORKS -DPtrIntType=long

 

Release

-DCSREAL_IS_FLOAT -DCPU=PPC603 -DNDEBUG -c -Wp,-MD

ppc603Vx5.5gcc

 

 

 

Static or

-mcpu=603 -G 0 -fno-builtin -mlongcall -D__PROTOTYPE_5_0 -g

 

 

-DVXWORKS_MAJOR_VERSION=5 -DVXWORKS_MINOR_VERSION=5 -O -Wall

 

Dynamic

 

-Wno-unknown-pragmas -DRTS_VXWORKS -DPtrIntType=long

 

Debug

-DCSREAL_IS_FLOAT -DCPU=PPC603 -c -Wp,-MD

 

 

 

 

 

 

Static or

-mcpu=604 -G 0 -fno-builtin -mlongcall -D__PROTOTYPE_5_0

 

-DVXWORKS_MAJOR_VERSION=5 -DVXWORKS_MINOR_VERSION=5 -O -Wall

 

Dynamic

 

-Wno-unknown-pragmas -DRTS_VXWORKS -DPtrIntType=long -DCPU=PPC604

 

Release

-DNDEBUG -c -Wp,-MD

ppc604Vx5.5gcc

 

 

 

Static or

-mcpu=604 -G 0 -fno-builtin -mlongcall -D__PROTOTYPE_5_0 -g

 

 

-DVXWORKS_MAJOR_VERSION=5 -DVXWORKS_MINOR_VERSION=5 -O -Wall

 

Dynamic

 

-Wno-unknown-pragmas -DRTS_VXWORKS -DPtrIntType=long -DCPU=PPC604

 

Debug

-c -Wp,-MD

 

 

 

 

 

 

 

-mcpu=604 -fno-builtin -mlongcall -DTOOL=gnu -mstrict-align -mno-implicit-fp

 

Static or

-ansi -D_WRS_KERNEL -D_PROTOTYPE_5_0 -DVXWORKS_MAJOR_VERSION=6

 

Dynamic

-DVXWORKS_MINOR_VERSION=3 -O -Wall -Wno-unknown-pragmas

 

Release

-DRTS_VXWORKS -DTOOL_FAMILY=gnu -DPtrIntType=long -DCPU=PPC604

ppc604Vx6.3gcc3.4.4

 

-DNDEBUG -c -Wp,-MD

 

 

 

-mcpu=604 -fno-builtin -mlongcall -DTOOL=gnu -mstrict-align -mno-implicit-fp

 

 

 

Static or

-ansi -D_WRS_KERNEL -D_PROTOTYPE_5_0 -g -DVXWORKS_MAJOR_VERSION=6

 

Dynamic

-DVXWORKS_MINOR_VERSION=3 -O -Wall -Wno-unknown-pragmas

 

Debug

-DRTS_VXWORKS -DTOOL_FAMILY=gnu -DPtrIntType=long -DCPU=PPC604 -c

 

 

-Wp,-MD

 

 

 

 

 

-mhard-float -mlongcall -mregnames -mstrict-align -ansi -DTOOL=gnu -mrtp

 

Static

-D_PROTOTYPE_5_0 -DVXWORKS_MAJOR_VERSION=6

 

-DVXWORKS_MINOR_VERSION=3 -O -Wall -Wno-unknown-pragmas

 

Release

 

-DRTS_VXWORKS -DTOOL_FAMILY=gnu -DPtrIntType=long -DCPU=PPC32

 

 

ppc604Vx6.3gcc3.4.4_rtp

 

-DNDEBUG -c -Wp,-MD

 

 

 

-mhard-float -mlongcall -mregnames -mstrict-align -ansi -DTOOL=gnu -mrtp -fPIC

 

 

 

Static

-shared -D_PROTOTYPE_5_0 -g -DVXWORKS_MAJOR_VERSION=6

 

-DVXWORKS_MINOR_VERSION=3 -O -Wall -Wno-unknown-pragmas

 

Debug

 

-DRTS_VXWORKS -DTOOL_FAMILY=gnu -DPtrIntType=long -DCPU=PPC32

 

 

 

 

-c -Wp,-MD

 

 

 

57

 

 

VxWorks Platforms

 

Table 9.9 Library-Creation Details for All VxWorks Architectures

 

 

 

 

RTI Architecture

Library

Compiler Flags Used by RTI

Format

 

 

 

 

 

 

 

 

-mcpu=604 -mstrict-align -fno-builtin -ansi -mlongcall -mno-implicit-fp

 

Static or

-D_WRS_KERNEL -D_PROTOTYPE_5_0 -DVXWORKS_MAJOR_VERSION=6

 

Dynamic

-DVXWORKS_MINOR_VERSION=5 -O -Wall -Wno-unknown-pragmas

 

Release

-DRTS_VXWORKS -DTOOL=gnu -DTOOL_FAMILY=gnu -DPtrIntType=long

ppc604Vx6.5gcc3.4.4

 

-DCPU=PPC604 -DNDEBUG -c -Wp,-MD

 

 

 

 

-mcpu=604 -mstrict-align -fno-builtin -ansi -mlongcall -mno-implicit-fp

 

 

 

Static or

-D_WRS_KERNEL -D_PROTOTYPE_5_0 -g -DVXWORKS_MAJOR_VERSION=6

 

Dynamic

-DVXWORKS_MINOR_VERSION=5 -O -Wall -Wno-unknown-pragmas

 

Debug

-DRTS_VXWORKS -DTOOL=gnu -DTOOL_FAMILY=gnu -DPtrIntType=long

 

 

-DCPU=PPC604 -c -Wp,-MD

 

 

 

 

 

-mhard-float -mstrict-align -ansi -mregnames -mlongcall -mrtp -D_PROTOTYPE_5_0

 

Static

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=5 -O -Wall

 

Release

-Wno-unknown-pragmas -DRTS_VXWORKS -DTOOL=gnu -DTOOL_FAMILY=gnu

ppc604Vx6.5gcc3.4.4_rtp

 

-DPtrIntType=long -DCPU=PPC32 -DNDEBUG -c -Wp,-MD

 

 

 

 

-mhard-float -mstrict-align -ansi -mregnames -mlongcall -mrtp -D_PROTOTYPE_5_0

 

 

 

Static

-g -DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=5 -O -Wall

 

Debug

-Wno-unknown-pragmas -DRTS_VXWORKS -DTOOL=gnu -DTOOL_FAMILY=gnu

 

 

-DPtrIntType=long -DCPU=PPC32 -c -Wp,-MD

 

 

 

 

 

-mcpu=604 -fno-builtin -mlongcall -DTOOL=gnu -mstrict-align -ansi

 

Static or

-D_WRS_KERNEL -D_PROTOTYPE_5_0 -DVXWORKS_MAJOR_VERSION=6

 

Dynamic

-DVXWORKS_MINOR_VERSION=6 -O -Wall -Wno-unknown-pragmas

 

Release

-DRTS_VXWORKS -DTOOL=gnu -DTOOL_FAMILY=gnu -DPtrIntType=long

ppc604Vx6.6gcc4.1.2

 

-DCPU=PPC604 -DNDEBUG -c -Wp,-MD

 

 

 

 

-mcpu=604 -fno-builtin -mlongcall -DTOOL=gnu -mstrict-align -ansi

 

 

 

Static or

-D_WRS_KERNEL -D_PROTOTYPE_5_0 -g -DVXWORKS_MAJOR_VERSION=6

 

Dynamic

-DVXWORKS_MINOR_VERSION=6 -O -Wall -Wno-unknown-pragmas

 

Debug

-DRTS_VXWORKS -DTOOL=gnu -DTOOL_FAMILY=gnu -DPtrIntType=long

 

 

-DCPU=PPC604 -c -Wp,-MD

 

 

 

 

 

-mhard-float -mlongcall -mregnames -mstrict-align -ansi -mrtp -D_PROTOTYPE_5_0

 

Static

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=6 -O -Wall

 

Release

-Wno-unknown-pragmas -DRTS_VXWORKS -DTOOL=gnu -DTOOL_FAMILY=gnu

 

 

-DPtrIntType=long -DCPU=PPC32 -DNDEBUG -c -Wp,-MD

ppc604Vx6.6gcc4.1.2_rtp

 

 

 

-mhard-float -mlongcall -mregnames -mstrict-align -ansi -mrtp -fPIC -shared

 

Static

-D_PROTOTYPE_5_0 -g -DVXWORKS_MAJOR_VERSION=6

 

-DVXWORKS_MINOR_VERSION=6 -O -Wall -Wno-unknown-pragmas

 

Debug

 

-DRTS_VXWORKS -DTOOL=gnu -DTOOL_FAMILY=gnu -DPtrIntType=long

 

 

 

 

-DCPU=PPC32 -c -Wp,-MD

 

 

 

 

 

-mcpu=604 -fno-builtin -mlongcall -DTOOL=gnu -mstrict-align -ansi

 

Static or

-D_WRS_KERNEL -D_PROTOTYPE_5_0 -DVXWORKS_MAJOR_VERSION=6

 

Dynamic

-DVXWORKS_MINOR_VERSION=7 -O -Wall -Wno-unknown-pragmas

 

Release

-DRTS_VXWORKS -DTOOL=gnu -DTOOL_FAMILY=gnu -DPtrIntType=long

ppc604Vx6.7gcc4.1.2

 

-DCPU=PPC604 -DNDEBUG -c -Wp,-MD

 

 

 

 

-mcpu=604 -fno-builtin -mlongcall -DTOOL=gnu -mstrict-align -ansi

 

 

 

Static or

-D_WRS_KERNEL -D_PROTOTYPE_5_0 -g -DVXWORKS_MAJOR_VERSION=6

 

Dynamic

-DVXWORKS_MINOR_VERSION=7 -O -Wall -Wno-unknown-pragmas

 

Debug

-DRTS_VXWORKS -DTOOL=gnu -DTOOL_FAMILY=gnu -DPtrIntType=long

 

 

-DCPU=PPC604 -c -Wp,-MD

 

 

 

 

58

VxWorks Platforms

Table 9.9 Library-Creation Details for All VxWorks Architectures

RTI Architecture

Library

Compiler Flags Used by RTI

Format

 

 

 

 

 

 

 

 

 

 

-mhard-float -mlongcall -mregnames -mstrict-align -ansi -mrtp -D_PROTOTYPE_5_0

 

Static

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=7 -O -Wall

 

Release

-Wno-unknown-pragmas -DRTS_VXWORKS -DTOOL=gnu -DTOOL_FAMILY=gnu

ppc604Vx6.7gcc4.1.2_rtp,

 

-DPtrIntType=long -DCPU=PPC32 -DNDEBUG -c -Wp,-MD

 

 

 

-mhard-float -mlongcall -mregnames -mstrict-align -ansi -mrtp -fPIC -shared

ppc604Vx6.7gcc4.1.2_smp

 

 

-D_PROTOTYPE_5_0 -g -DVXWORKS_MAJOR_VERSION=6

 

Static

 

-DVXWORKS_MINOR_VERSION=7 -O -Wall -Wno-unknown-pragmas

 

Debug

 

-DRTS_VXWORKS -DTOOL=gnu -DTOOL_FAMILY=gnu -DPtrIntType=long

 

 

 

 

-DCPU=PPC32 -c -Wp,-MD

 

 

 

 

 

ccppc -m32 -mstrict-align -ansi -fno-builtin -mlongcall -DCPU=PPC32

 

Static or

-DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL -D__PROTOTYPE_5_0

 

Dynamic

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=8 -O2

 

Release

-fno-strict-aliasing -Wall -Wno-unknown-pragmas -DRTS_VXWORKS

ppc604Vx6.8gcc4.1.2

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DNDEBUG -Wp,-MD

 

 

 

ccppc -m32 -mstrict-align -ansi -fno-builtin -mlongcall -DCPU=PPC32

 

 

 

Static or

-DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL -D__PROTOTYPE_5_0 -g

 

Dynamic

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=8 -Wall

 

Debug

-Wno-unknown-pragmas -DRTS_VXWORKS -DPtrIntType=long

 

 

-DCSREAL_IS_FLOAT -Wp,-MD

 

 

 

 

 

ccppc -m32 -mhard-float -mstrict-align -mregnames -ansi -mlongcall -DCPU=PPC32

 

Static or

-DTOOL_FAMILY=gnu -DTOOL=gnu -mrtp -D__PROTOTYPE_5_0 -O2

 

Dynamic

-fno-strict-aliasing -Wall -Wno-unknown-pragmas -DRTS_VXWORKS

 

Release

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=8

ppc604Vx6.8gcc4.1.2_rtp

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DNDEBUG -Wp,-MD

 

 

 

ccppc -m32 -mhard-float -mstrict-align -mregnames -ansi -mlongcall -DCPU=PPC32

 

 

 

Static or

-DTOOL_FAMILY=gnu -DTOOL=gnu -mrtp -D__PROTOTYPE_5_0 -g -Wall

 

Dynamic

-Wno-unknown-pragmas -DRTS_VXWORKS -DVXWORKS_MAJOR_VERSION=6

 

Debug

-DVXWORKS_MINOR_VERSION=8 -DPtrIntType=long -DCSREAL_IS_FLOAT

 

 

-Wp,-MD

 

 

 

 

 

ccppc -m32 -mstrict-align -ansi -fno-builtin -mlongcall -DCPU=PPC32

 

Static

-DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL -D__PROTOTYPE_5_0

 

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=9 -O2

 

Release

 

-fno-strict-aliasing -Wall -Wno-unknown-pragmas -DRTS_VXWORKS

 

 

ppc604Vx6.9gcc4.3.3

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DNDEBUG -Wp,-MD

 

 

 

ccppc -m32 -mstrict-align -ansi -fno-builtin -mlongcall -DCPU=PPC32

 

 

 

Static

-DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL -D__PROTOTYPE_5_0 -g

 

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=9 -Wall

 

Debug

 

-Wno-unknown-pragmas -DRTS_VXWORKS -DPtrIntType=long

 

 

 

 

-DCSREAL_IS_FLOAT -Wp,-MD

 

 

 

 

 

ccppc -mhard-float -mstrict-align -m32 -mregnames -ansi -mlongcall -DCPU=PPC32

 

Static

-DTOOL_FAMILY=gnu -DTOOL=gnu -mrtp -D__PROTOTYPE_5_0 -O2

 

-fno-strict-aliasing -Wall -Wno-unknown-pragmas -DRTS_VXWORKS

 

Release

 

-DVXWORKS_MAJOR_VERSION=6 -DVXWORKS_MINOR_VERSION=9

 

 

ppc604Vx6.9gcc4.3.3_rtp

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DNDEBUG -Wp,-MD

 

 

 

ccppc -mhard-float -mstrict-align -m32 -mregnames -ansi -mlongcall -DCPU=PPC32

 

 

 

Static

-DTOOL_FAMILY=gnu -DTOOL=gnu -mrtp -D__PROTOTYPE_5_0 -g -Wall

 

-Wno-unknown-pragmas -DRTS_VXWORKS -DVXWORKS_MAJOR_VERSION=6

 

Debug

 

-DVXWORKS_MINOR_VERSION=9 -DPtrIntType=long -DCSREAL_IS_FLOAT

 

 

 

 

-Wp,-MD

 

 

 

59

 

 

VxWorks Platforms

 

Table 9.9 Library-Creation Details for All VxWorks Architectures

 

 

 

 

RTI Architecture

Library

Compiler Flags Used by RTI

Format

 

 

 

 

 

 

 

Static or

-fno-zero-initialized-in-bss -mcpu=8540 -mvthreads -mlongcall -mstrict-align

 

Dynamic

-mabi=no-spe -msoft-float -G 0 -fvolatile -fno-builtin -O -Wall -Wno-unknown-pragmas

ppc85xxVxT2.2.3gcc3.3.2

Release

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=PPC85XX -DNDEBUG

 

 

 

Static or

-fno-zero-initialized-in-bss -mcpu=8540 -mvthreads -mlongcall -mstrict-align

 

 

Dynamic

-mabi=no-spe -msoft-float -G 0 -fvolatile -fno-builtin -g -Wall -Wno-unknown-pragmas

 

Debug

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=PPC85XX

 

 

 

 

 

ccppc -m32 -mstrict-align -ansi -fno-builtin -mlongcall -DCPU=PPC32

 

 

-DTOOL_FAMILY=gnu -DTOOL=e500v2gnu -te500v2 -mcpu=8548

 

Static or

-mfloat-gprs=double -mspe=yes -mabi=spe -D_WRS_KERNEL

 

Dynamic

-D__PROTOTYPE_5_0 -DVXWORKS_MAJOR_VERSION=6

 

Release

-DVXWORKS_MINOR_VERSION=9 -O2 -fno-strict-aliasing -Wall

 

 

-Wno-unknown-pragmas -DRTS_VXWORKS -DPtrIntType=long

ppce500v2Vx6.9gcc4.3.3

 

-DCSREAL_IS_FLOAT -DNDEBUG -Wp,-MD

 

 

ccppc -m32 -mstrict-align -ansi -fno-builtin -mlongcall -DCPU=PPC32

 

Static or

-DTOOL_FAMILY=gnu -DTOOL=e500v2gnu -te500v2 -mcpu=8548

 

-mfloat-gprs=double -mspe=yes -mabi=spe -D_WRS_KERNEL

 

Dynamic

 

-D__PROTOTYPE_5_0 -g -DVXWORKS_MAJOR_VERSION=6

 

Debug

-DVXWORKS_MINOR_VERSION=9 -Wall -Wno-unknown-pragmas

 

 

 

 

-DRTS_VXWORKS -DPtrIntType=long -DCSREAL_IS_FLOAT -Wp,-MD

 

 

 

 

 

ccppc -mstrict-align -m32 -mregnames -ansi -mlongcall -DCPU=PPC32

 

Static or

-DTOOL_FAMILY=gnu -DTOOL=gnu -te500v2 -mcpu=8548 -mfloat-gprs=double

 

-mspe=yes -mabi=spe -mrtp -D__PROTOTYPE_5_0 -O2 -fno-strict-aliasing -Wall

 

Dynamic

 

-Wno-unknown-pragmas -DRTS_VXWORKS -DVXWORKS_MAJOR_VERSION=6

 

Release

-DVXWORKS_MINOR_VERSION=9 -DPtrIntType=long -DCSREAL_IS_FLOAT

 

 

ppce500v2Vx6.9gcc4.3.3_rtp

 

-DNDEBUG -Wp,-MD

 

 

 

 

ccppc -mstrict-align -m32 -mregnames -ansi -mlongcall -DCPU=PPC32

 

 

 

Static or

-DTOOL_FAMILY=gnu -DTOOL=gnu -te500v2 -mcpu=8548 -mfloat-gprs=double

 

-mspe=yes -mabi=spe -mrtp -D__PROTOTYPE_5_0 -g -Wall

 

Dynamic

 

Debug

-Wno-unknown-pragmas -DRTS_VXWORKS -DVXWORKS_MAJOR_VERSION=6

 

-DVXWORKS_MINOR_VERSION=9 -DPtrIntType=long -DCSREAL_IS_FLOAT

 

 

 

 

-Wp,-MD

 

 

 

 

Static or

-DTOOL_FAMILY=gnu -DTOOL=gnu -mlongcall -Wall -G 0 -fno-builtin -mlongcall

 

-D_WRS_KERNEL -D__PROTOTYPE_5_0 -DVXWORKS_MAJOR_VERSION=5

 

Dynamic

 

-DVXWORKS_MINOR_VERSION=5 -O -Wno-unknown-pragmas -DRTS_VXWORKS

 

Release

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=PPC604 -DNDEBUG -c -Wp,-MD

 

 

sbc8641Vx653-2.3gcc3.3.2

 

 

 

-DTOOL_FAMILY=gnu -DTOOL=gnu -mlongcall -Wall -G 0 -fno-builtin -mlongcall

 

Static or

-D_WRS_KERNEL -D__PROTOTYPE_5_0 -g -DVXWORKS_MAJOR_VERSION=5

 

Dynamic

-DVXWORKS_MINOR_VERSION=5 -Wall -Wno-unknown-pragmas

 

Debug

-DRTS_VXWORKS -DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=PPC604 -c

 

 

-Wp,-MD

 

 

 

 

 

-DTOOL_FAMILY=gnu -DTOOL=gnu -DCPU=SIMNT -Wall -nostdlib -fno-defer-pop

 

Static or

-fno-builtin -mcpu=pentium -D_WRS_KERNEL -D__PROTOTYPE_5_0

 

Dynamic

-DVXWORKS_MAJOR_VERSION=5 -DVXWORKS_MINOR_VERSION=5 -O

 

Release

-Wno-unknown-pragmas -DRTS_VXWORKS -DPtrIntType=long

simpcVx653-2.3gcc3.3.2

 

-DCSREAL_IS_FLOAT -DCPU=SIMNT -DNDEBUG -c -Wp,-MD

 

 

 

 

-DTOOL_FAMILY=gnu -DTOOL=gnu -DCPU=SIMNT -Wall -nostdlib -fno-defer-pop

 

 

 

Static or

-fno-builtin -mcpu=pentium -D_WRS_KERNEL -D__PROTOTYPE_5_0 -g

 

Dynamic

-DVXWORKS_MAJOR_VERSION=5 -DVXWORKS_MINOR_VERSION=5

 

Debug

-Wno-unknown-pragmas -DRTS_VXWORKS -DPtrIntType=long

 

 

-DCSREAL_IS_FLOAT -DCPU=SIMNT -c -Wp,-MD

 

 

 

 

60

 

 

VxWorks Platforms

Table 9.10 Required Kernel Components for sbc8641Vx653-2.3gcc3.3.2a

 

INCLUDE_ARINC_SCHEDULER_INIT

INCLUDE_NETINET_IF_SUBR

 

 

 

 

 

 

INCLUDE_ARP_API

INCLUDE_NETINET_IGMP

 

 

 

 

 

 

INCLUDE_AUXCLK

INCLUDE_NETINET_IN

 

 

 

 

 

 

INCLUDE_BOOT_LINE

INCLUDE_NETINET_IN_CKSUM

 

 

 

 

 

 

INCLUDE_BOOT_LINE_INIT

INCLUDE_NETINET_IN_PCB

 

 

 

 

 

 

INCLUDE_BSD_SOCKET

INCLUDE_NETINET_IN_PROTO

 

 

 

 

 

 

INCLUDE_BSP_MODULES

INCLUDE_NETINET_IP_ICMP

 

 

 

 

 

 

INCLUDE_BSP_VXWORKS

INCLUDE_NETINET_IP_INPUT

 

 

 

 

 

 

INCLUDE_BYTENVRAM

INCLUDE_NETINET_IP_OUTPUT

 

 

 

 

 

 

INCLUDE_DEBUG_CORE

INCLUDE_NETINET_RADIX

 

 

 

 

 

 

INCLUDE_DEBUG_UTIL

INCLUDE_NETINET_RAW_IP

 

 

 

 

 

 

INCLUDE_END

INCLUDE_NETINET_ROUTE

 

 

 

 

 

 

INCLUDE_END_BOOT

INCLUDE_NETINET_SYS_SOCKET

 

 

 

 

 

 

INCLUDE_EXC_SHOW_INIT

INCLUDE_NETINET_UDP_USRREQ

 

 

 

 

 

 

INCLUDE_FLASHMEM

INCLUDE_NETINET_UIPC_DOM

 

 

 

 

 

 

INCLUDE_FTP

INCLUDE_NETINET_UIPC_MBUF

 

 

 

 

 

 

INCLUDE_HOST_TBL

INCLUDE_NETINET_UIPC_SOCK

 

 

 

 

 

 

INCLUDE_ICMP

INCLUDE_NETINET_UIPC_SOCK2

 

 

 

 

 

 

INCLUDE_IGMP

INCLUDE_NETINET_UNIXLIB

 

 

 

 

 

 

INCLUDE_IO_EXTRA_INIT

INCLUDE_NETMASK_GET

 

 

 

 

 

 

INCLUDE_IO_SYSTEM_INIT

INCLUDE_NETWORK

 

 

 

 

 

 

INCLUDE_IP

INCLUDE_NETWRS_ETHERMULTILIB

 

 

 

 

 

 

INCLUDE_KERNEL_BASIC

INCLUDE_NETWRS_IFLIB

 

 

 

 

 

 

INCLUDE_KERNEL_BASIC_INIT

INCLUDE_NETWRS_INETLIB

 

 

 

 

 

 

INCLUDE_KERNEL_BASIC_INIT2

INCLUDE_NETWRS_NETBUFLIB

 

 

 

 

 

 

INCLUDE_KERNEL_CORE

INCLUDE_NETWRS_REMLIB

 

 

 

 

 

 

INCLUDE_KERNEL_FULL

INCLUDE_NETWRS_ROUTELIB

 

 

 

 

 

 

INCLUDE_KERNEL_NORMAL_MODE

INCLUDE_NETWRS_XDR

 

 

 

 

 

 

INCLUDE_KERNEL_SHOW

INCLUDE_NV_RAM

 

 

 

 

 

 

INCLUDE_KERNEL_UTIL

INCLUDE_PARTITION_INIT

 

 

 

 

 

 

INCLUDE_LOADER

INCLUDE_POST_KERNEL_CORE_INIT

 

 

 

 

 

 

INCLUDE_LOADER_EXTRA

INCLUDE_POST_KERNEL_CORE_INIT2

 

 

 

 

 

 

INCLUDE_LOOPBACK

INCLUDE_PPCDECTIMER

 

 

 

 

 

 

INCLUDE_MIILIB

INCLUDE_PRE_KERNEL_CORE_INIT

 

 

 

 

 

 

INCLUDE_MMU_BASIC

INCLUDE_SERIAL

 

 

 

 

 

 

INCLUDE_MOTTSECEND

INCLUDE_SHELL

 

 

 

 

 

 

INCLUDE_MUX

INCLUDE_SHELL_VI_MODE

 

 

 

 

 

 

INCLUDE_NET_DRV

INCLUDE_SOCKET_DEV

 

 

 

 

 

 

INCLUDE_NET_HOST_SETUP

INCLUDE_SYM_TBL_INIT

 

 

 

 

 

 

INCLUDE_NET_INIT

INCLUDE_SYSCLK

 

 

 

 

 

 

INCLUDE_NET_LIB

INCLUDE_SYSTEM_START_INIT

 

 

 

 

 

 

INCLUDE_NET_RANDOM

INCLUDE_TCP

 

 

 

 

 

61

 

 

VxWorks Platforms

Table 9.10 Required Kernel Components for sbc8641Vx653-2.3gcc3.3.2a

 

INCLUDE_NET_REM_IO

INCLUDE_TFTP_CLIENT

 

 

 

 

 

 

INCLUDE_NET_SETUP

INCLUDE_TIME_MONITOR_INIT

 

 

 

 

 

 

INCLUDE_NET_SYM_TBL

INCLUDE_UDP

 

 

 

 

 

 

INCLUDE_NET_TASK

INCLUDE_USER_APPL

 

 

 

 

 

 

INCLUDE_NETDEV_CONFIG

INCLUDE_USR_DEVSPLIT

 

 

 

 

 

 

INCLUDE_NETDEV_NAMEGET

INCLUDE_USR_FS_UTILS

 

 

 

 

 

 

INCLUDE_NETINET_IF

INCLUDE_WDB

 

 

 

 

 

 

INCLUDE_NETINET_IF_ETHER

INCLUDE_WDB_COMM_END

 

 

 

 

 

a. Install partition_socket_driver_v1.3. Follow instructions from Wind River for the installation.

Table 9.11 Required Kernel Components for simpcVx653-2.3gcc3.3.2a

INCLUDE_ARINC_SCHEDULER_INIT

INCLUDE_NETINET_IN_PCB

 

 

INCLUDE_ARP_API

INCLUDE_NETINET_IN_PROTO

 

 

INCLUDE_BOOT_LINE

INCLUDE_NETINET_IP_ICMP

 

 

INCLUDE_BOOT_LINE_INIT

INCLUDE_NETINET_IP_INPUT

 

 

INCLUDE_BSD_SOCKET

INCLUDE_NETINET_IP_OUTPUT

 

 

INCLUDE_BSP_MODULES

INCLUDE_NETINET_RADIX

 

 

INCLUDE_BSP_VXWORKS

INCLUDE_NETINET_RAW_IP

 

 

INCLUDE_DEBUG_CORE

INCLUDE_NETINET_ROUTE

 

 

INCLUDE_DEBUG_UTIL

INCLUDE_NETINET_SYS_SOCKET

 

 

INCLUDE_END

INCLUDE_NETINET_UDP_USRREQ

 

 

INCLUDE_END_BOOT

INCLUDE_NETINET_UIPC_DOM

 

 

INCLUDE_FTP

INCLUDE_NETINET_UIPC_MBUF

 

 

INCLUDE_HOST_TBL

INCLUDE_NETINET_UIPC_SOCK

 

 

INCLUDE_ICMP

INCLUDE_NETINET_UIPC_SOCK2

 

 

INCLUDE_IGMP

INCLUDE_NETINET_UNIXLIB

 

 

INCLUDE_IO_EXTRA_INIT

INCLUDE_NETMASK_GET

 

 

INCLUDE_IO_SYSTEM_INIT

INCLUDE_NETWORK

 

 

INCLUDE_IP

INCLUDE_NETWRS_ETHERMULTILIB

 

 

INCLUDE_KERNEL_BASIC

INCLUDE_NETWRS_IFLIB

 

 

INCLUDE_KERNEL_BASIC_INIT

INCLUDE_NETWRS_INETLIB

 

 

INCLUDE_KERNEL_BASIC_INIT2

INCLUDE_NETWRS_NETBUFLIB

 

 

INCLUDE_KERNEL_CORE

INCLUDE_NETWRS_REMLIB

 

 

INCLUDE_KERNEL_FULL

INCLUDE_NETWRS_ROUTELIB

 

 

INCLUDE_KERNEL_NORMAL_MODE

INCLUDE_NETWRS_XDR

 

 

INCLUDE_LOOPBACK

INCLUDE_NTEND

 

 

INCLUDE_MUX

INCLUDE_NTPASSFS

 

 

INCLUDE_NET_DRV

INCLUDE_NULLNVRAM

 

 

INCLUDE_NET_HOST_SETUP

INCLUDE_PARTITION_INIT

 

 

INCLUDE_NET_INIT

INCLUDE_POST_KERNEL_CORE_INIT

 

 

INCLUDE_NET_LIB

INCLUDE_POST_KERNEL_CORE_INIT2

 

 

INCLUDE_NET_RANDOM

INCLUDE_PRE_KERNEL_CORE_INIT

 

 

62

VxWorks Platforms

Table 9.11 Required Kernel Components for simpcVx653-2.3gcc3.3.2a

INCLUDE_NET_REM_IO

INCLUDE_SIMPCTIMER

 

 

INCLUDE_NET_SETUP

INCLUDE_SOCKET_DEV

 

 

INCLUDE_NET_TASK

INCLUDE_SYSTEM_START_INIT

 

 

INCLUDE_NETDEV_CONFIG

INCLUDE_TCP

 

 

INCLUDE_NETDEV_NAMEGET

INCLUDE_TFTP_CLIENT

 

 

INCLUDE_NETINET_IF

INCLUDE_TIME_MONITOR_INIT

 

 

INCLUDE_NETINET_IF_ETHER

INCLUDE_UDP

 

 

INCLUDE_NETINET_IF_SUBR

INCLUDE_USER_APPL

 

 

INCLUDE_NETINET_IGMP

INCLUDE_WDB

 

 

INCLUDE_NETINET_IN

INCLUDE_WDB_COMM_END

 

 

INCLUDE_NETINET_IN_CKSUM

INCLUDE_WINSIO

 

 

a. Install partition_socket_driver_v1.3. Follow instructions from Wind River for the installation.

63

Windows Platforms

10 Windows Platforms

First, see the basic instructions for compiling on Windows systems in Section 9.4 in the RTI Core Libraries and Utilities User’s Manual. The following tables provide supplemental information. Table 10.1 lists the architectures supported on Windows operating systems.

Table 10.1 Supported Windows Architectures

Operating System

CPU

Compiler or

RTI Architecture

Software Development Kit a b

 

 

 

 

 

 

Visual Studio 2010

i86Win32VS2010

 

 

 

 

Windows 7 32-bit Edition

x86

Visual Studio 2010 (C++/CLI, C# 8.0 or 9.0)

i86Win32dotnet4.0

 

 

 

 

 

 

Java Platform, Standard Edition JDK 1.7

i86Win32jdk

 

 

 

 

 

 

Visual Studio 2010

x64Win64VS2010

 

 

 

 

Windows 7 64-bit Edition

x64

Visual Studio 2010 (C++/CLI, C# 8.0 or 9.0)

x64Win64dotnet4.0

 

 

 

 

 

 

Java Platform, Standard Edition JDK 1.7

x64Win64jdk

 

 

 

 

 

 

Visual Studio 2012

i86Win32VS2012

 

 

 

 

Windows 8 32-bit Edition

x86

Visual Studio 2012

i86Win32dotnet4.5

 

 

 

 

 

 

Java Platform, Standard Edition JDK 1.7

i86Win32jdk

 

 

 

 

 

 

Visual Studio 2012

x64Win64VS2012

 

 

 

 

Windows 8 64-bit Edition

x64

Visual Studio 2012

x64Win64dotnet4.5

 

 

 

 

 

 

Java Platform, Standard Edition JDK 1.7

x64Win64jdk

 

 

 

 

 

 

Visual Studio 2005 SP 1

i86Win32VS2005

 

 

 

 

Windows Server 2003

 

Visual Studio 2005 SP 1 (C++/CLI, C# 8.0 or 9.0)

i86Win32dotnet2.0

 

 

 

x86

Visual Studio 2008 SP1

i86Win32VS2008

32-bit Edition

 

 

 

 

Visual Studio 2008 SP 1 (C++/CLI, C# 8.0 or 9.0)

i86Win32dotnet2.0

 

 

 

 

 

 

 

 

Java Platform, Standard Edition JDK 1.7

i86Win32jdk

 

 

 

 

 

 

Visual Studio 2005 SP 1

x64Win64VS2005

 

 

 

 

Windows Server 2003

x64

Visual Studio 2005 SP 1 (C++/CLI, C# 8.0 or 9.0)

x64Win64dotnet2.0

64-bit Edition

Visual Studio 2008 SP 1

x64Win64VS2008

 

 

 

 

 

 

 

Java Platform, Standard Edition JDK 1.7

x64Win64jdk

 

 

 

 

 

 

Visual Studio 2005 SP 1 (C++, C# 8.0 or 9.0)

x64Win64dotnet2.0

 

 

 

 

Windows Server 2008 R2

x64

Visual Studio 2010

x64Win64VS2010

64-bit Edition

Visual Studio 2010 (C++/CLI, C# 8.0 or 9.0)

x64Win64dotnet4.0

 

 

 

 

 

 

 

Java Platform, Standard Edition JDK 1.7

x64Win64jdk

 

 

 

 

Windows Server 2012 R2

 

Visual Studio 2012

x64Win64VS2012

 

 

 

x64

Visual Studio 2012

x64Win64dotnet4.5

64-bit Edition

 

 

 

 

Java Platform, Standard Edition JDK 1.7

x64Win64jdk

 

 

 

 

 

 

 

 

Visual Studio 2005 SP 1

i86Win32VS2005

 

 

 

 

Windows Vista 32-bit Edition

x86

Visual Studio 2005 SP 1 (C++/CLI, C# 8.0 or 9.0)

i86Win32dotnet2.0

 

 

Visual Studio 2008 SP 1

i86Win32VS2008

 

 

 

 

 

 

 

 

Java Platform, Standard Edition JDK 1.7

i86Win32jdk

 

 

 

 

64

Windows Platforms

Table 10.1 Supported Windows Architectures

Operating System

CPU

Compiler or

RTI Architecture

Software Development Kit a b

 

 

 

 

 

 

Visual Studio 2005 SP 1

x64Win64VS2005

 

 

 

 

Windows Vista 64-bit Edition

x64

Visual Studio 2005 SP 1 (C++/CLI, C# 8.0 or 9.0)

x64Win64dotnet2.0

 

 

Visual Studio 2008 SP1

x64Win64VS2008

 

 

 

 

 

 

 

 

Java Platform, Standard Edition JDK 1.7

x64Win64jdk

 

 

 

 

 

 

Visual Studio 2005 SP 1

i86Win32VS2005

 

 

 

 

Windows XPc 32-bit

x86

Visual Studio 2005 SP 1 (C++/CLI, C# 8.0 or 9.0)

i86Win32dotnet2.0

Professional Edition SP2

Visual Studio 2008 SP 1

i86Win32VS2008

 

 

 

 

 

 

 

Java Platform, Standard Edition JDK 1.7

i86Win32jdk

 

 

 

 

 

 

Visual Studio 2005 SP 1

x64Win64VS2005

 

 

 

 

Windows XP 64-bit

x64

Visual Studio 2005 SP 1 (C++/CLI, C# 8.0 or 9.0)

x64Win64dotnet2.0

Professional Edition SP2

Visual Studio 2008 SP 1

x64Win64VS2008

 

 

 

 

 

 

 

Java Platform, Standard Edition JDK 1.7

x64Win64jdk

 

 

 

 

a.On Windows XP: If you are using JDK 5.0 and want to use Intel’s HyperThreading technology, use JDK 5.0 Update 6 (build 1.5.0_06), which includes fixes to JNI and HyperThreading. (If you must use Update 5 (build 1.5.0_05), you should disable HyperThreading.)

b.The RTI .NET assemblies are supported for both the C++/CLI and C# languages. The type support code generated by rtiddsgen is in C++/CLI; compiling the generated type support code requires Microsoft Visual C++. Calling the assembly from C# requires Microsoft Visual C#.

c.Windows XP does not support IP_TOS unless registry changes are made. See http://support.microsoft.com/kb/ 248611, http://www.microsoft.com/technet/technetmag/issues/2007/02/CableGuy/default.aspx.

The compiler flags and the libraries you will need to link into your application are listed in the following tables:

Windows XP Professional x64 Edition: Table 10.6 on page 73

All other supported Windows platforms: Table 10.5 on page 71. (See also: Libraries Required for Using RTI Secure WAN Transport APIs (Section 10.10).)

To use libraries that are statically linked into an application, link in all of the libraries listed in one of the rows of these tables. To use dynamic link libraries (DLL) on Windows systems, link in all of the libraries listed in one of the ‘Dynamic’ sections of the appropriate table. When the application executes, it will attempt to dynamically link in the libraries, which are located in the directory $(NDDSHOME)\lib\<architecture> (this directory must be placed on the path before the executable is started).

Windows libraries are provided in formats with and without debugging symbols. Choose the format appropriate for your current work. Do not mix libraries built for different formats.

Visual Studio® 2005 — Service Pack 1 Redistributable Package MFC Security Update Require- ment

You must have the Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package MFC Security Update installed on the machine where you are running an application built with the release or debug libraries of the following RTI architecture packages:

i86Win32VS2005 and x64Win64VS2005, built with dynamic libraries

i86Win32jdk and x64Win64jdk

i86Win32dotnet2.0 and x64Win64dotnet2.0

65

Windows Platforms

The Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package MFC Security Update can be obtained from the following Microsoft website:

http://www.microsoft.com/download/en/details.aspx?id=26347

Visual Studio® 2008 — Service Pack 1 Requirement

You must have Visual Studio 2008 Service Pack 1 or the Microsoft Visual C++ 2008 SP1 Redistribution Package installed on the machine where you are running an application built with the following RTI architecture packages:

x64Win64VS2008 built with dynamic libraries

i86Win32VS2008 built with dynamic libraries

The Microsoft Visual C++ 2008 SP1 Redistribution Package can be downloaded from the following Microsoft website:

For x86 architectures: http://www.microsoft.com/downloads/details.aspx?fami- lyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en

For x64 architectures: http://www.microsoft.com/downloads/details.aspx?Fami- lyID=ba9257ca-337f-4b40-8c14-157cfdffee4e&displaylang=en

Visual Studio 2010 — Service Pack 1 Requirement

You must have Visual Studio 2010 Service Pack 1 or the Microsoft Visual C++ 2010 SP1 Redistribution Package installed on the machine where you are running an application built with the release libraries of the following RTI architecture packages:

i86Win32VS2010 built with dynamic libraries

x64Win64VS2010 built with dynamic libraries

i86Win32dotnet4.0 and x64Win64dotnet4.0

To run an application built with debug libraries of the above RTI architecture packages, you must have Visual Studio 2010 Service Pack 1 installed.

The Microsoft Visual C++ 2010 Service Pack 1 Redistribution Package can be obtained from the following Microsoft website:

For x86 architectures: http://www.microsoft.com/download/en/details.aspx?id=5555

For x64 architectures: http://www.microsoft.com/download/en/details.aspx?id=14632

Visual Studio 2012 — Redistributable Package Requirement

You must have Visual C++ Redistributable for Visual Studio 2012 Update 3 installed on the machine where you are running a C++ application built the release libraries of the fol- lowing RTI architecture packages:

i86Win32VS2012 built with dynamic libraries

x64Win64VS2012 built with dynamic libraries

i86Win32dotnet4.5 and x64Win64dotnet4.5

You can download Visual C++ Redistributable for Visual Studio 2012 Update 3 from this Microsoft website: http://www.microsoft.com/en-ca/download/details.aspx?id=30679

Windows Registry Setting for Better Performance:

On all Windows systems prior to Windows Vista, the following registry setting change will improve performance when sending UDP datagrams of size larger than 1024 bytes:

66

Windows Platforms

Under HKEY_LOCAL_MACHINE, SYSTEM, CurrentControlSet, Services, AFD, Parameters, add the following:

DWORD: Name=FastSendDatagramThreshold, Value = 65536

This will improve the Connext performance for data sizes larger than 1024 bytes (RTPS overhead included). It allows the datagrams to bypass the I/O subsystem by using a blocking send call instead of a buffer copy in the Windows Network stack.

Table 10.7 on page 74 provides details on the environment variables that must be set at run time for a Windows architecture.

For details on how the libraries were built by RTI, see Table 10.8 on page 75. This information is provided strictly for informational purposes; you do not need to use these parameters to com- pile your application. You may find this information useful if you are involved in any in-depth debugging.

Table 10.9 on page 77 and Table 10.10 on page 78 list additional libraries required when using the optional RTI Secure WAN Transport and RTI TCP Transport, respectively.

10.1Use Dynamic MFC Library, Not Static

To avoid communication problems in your Connext application, use the dynamic MFC library, not the static version.

If you use the static version, your Connext application may stop receiving samples once the Win- dows sockets are initialized.

10.2Visual Studio 2005 Required when Using RTI ‘Debug’ Libraries for Java or .NET APIs

The Connext dynamic libraries for Java and .NET1 rely on Microsoft Visual Studio 2005 Service Pack 1 run-time libraries. These libraries are available with Microsoft Visual Studio 2005 or as part of a redistributable package independent of Visual Studio. (The redistributable package is available for download from the RTI Customer Portal.)

However, while Microsoft includes debug versions of these run-time libraries with Visual Stu- dio, it only includes release versions in the redistributable package. This limitation means that if you do not have Visual Studio 2005 installed, you cannot use the RTI debug libraries; you must use the RTI release libraries. If you attempt to use the RTI debug libraries, and your system does not have debug versions of the Microsoft run-time libraries available, your application will fail to start up properly. If you start it from a command shell, you will see an error about a failure to load the dynamic libraries.

Fortunately, you do not need to use the RTI debug libraries to debug your own code. If you experience library-loading problems when your Java or .NET application starts up in debug mode, modify your application project files to use the release versions of the RTI libraries. Alter- natively, you can obtain a no-cost version of Visual Studio 2005 directly from Microsoft, which will contain the necessary debug libraries.

10.3.NET API Requires Thread Affinity

To maintain proper concurrency control, .NET threads that call a Connext API must correspond one-to-one with operating system threads. In most applications, this will always be the case. However, it may not be the case if the threads you are using are managed in a more advanced way—for example, Microsoft SQL Server does this, or you may do so in your own application.

If you intend to call Connext APIs from explicitly managed threads, you must first call Thread.BeginThreadAffinity() in each such thread to ensure that it remains attached to a single

1.RTI Connext .NET language binding is currently supported for C# and C++/CLI.

67

Windows Platforms

operating system thread. See http://msdn.microsoft.com/en-us/library/system.thread- ing.thread.beginthreadaffinity.aspx.

When you are done making RTI calls from a given thread, you should call Thread.EndThread- Affinity().

In any case, be sure to consult the RTI API documentation for more information about the thread safety contracts of the operations you use.

10.4Multicast Support

Multicast is supported on all platforms and is configured out of the box. That is, the default value for the initial peers list (NDDS_DISCOVERY_PEERS) includes a multicast address. See the online documentation for more information.

10.5Supported Transports

Shared memory: Shared memory is supported and enabled by default. The Windows operating system manages the shared memory resources automatically. Cleanup is not required.

UDPv4: Supported and enabled by default.

UDPv6: Supported but disabled on architectures that use Visual Studio. The peers list (NDDS_DISCOVERY_PEERS) must be modified to support UDPv6. No Traffic Class sup- port.

TCP/IPv4: Supported on architectures that use Visual Studio. (This is not a built-in transport.)

10.6Monotonic Clock Support

The monotonic clock (described in Section 8.6 in the RTI Core Libraries and Utilities User’s Manual) is supported.

10.7Thread Configuration

Table 10.2 lists the thread settings for Windows platforms.

Table 10.3 and Table 10.4 list the thread-priority definitions and thread kinds, respectively.

10.7.1Support for Controlling CPU Core Affinity for RTI Threads

Support for controlling CPU core affinity (described in Section 19.5 in the RTI Core Libraries and Utilities User’s Manual) is not available for Windows platforms.

Table 10.2 Thread Settings for Windows Platforms

Applicable Thread

DDS_ThreadSettings_t

Platform-Specific Setting

 

 

 

 

mask

OS default thread type

Asynchronous Publisher,

 

 

priority

-2

Asynchronous flushing

 

 

stack_size

OS default thread stack size

thread, ReceiverPool

 

 

cpu_list

CPU core affinity not supported

threads

 

cpu_rotation

CPU core affinity not supported

 

 

 

 

mask

DDS_THREAD_SETTINGS_STDIO

 

 

 

 

priority

-3

Database thread

 

 

stack_size

OS default thread stack size

 

 

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

68

Windows Platforms

Table 10.2 Thread Settings for Windows Platforms

Applicable Thread

DDS_ThreadSettings_t

Platform-Specific Setting

 

 

 

 

mask

DDS_THREAD_SETTINGS_STDIO |

 

DDS_THREAD_SETTINGS_FLOATING_POINT

 

 

 

 

 

Event thread

priority

-2

 

 

stack_size

OS default thread stack size

 

 

 

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

 

mask

DDS_THREAD_SETTINGS_STDIO |

 

DDS_THREAD_SETTINGS_FLOATING_POINT

 

 

 

 

 

ReceiverPool threads

priority

2

 

 

stack_size

OS default thread stack size

 

 

 

 

 

cpu_list

CPU core affinity not supported

 

 

 

 

cpu_rotation

CPU core affinity not supported

 

 

 

Table 10.3 Thread-Priority Definitions for Windows Platforms

Thread-Priority Definition

Operating-System Priority

 

 

 

 

THREAD_PRIORITY_DEFAULT

0

 

 

THREAD_PRIORITY_HIGH

3

 

 

THREAD_PRIORITY_ABOVE_NORMAL

2

 

 

THREAD_PRIORITY_NORMAL

0

 

 

THREAD_PRIORITY_BELOW_NORMAL

-2

 

 

THREAD_PRIORITY_LOW

-3

 

 

Table 10.4 Thread Kinds for Windows Platforms

Thread Kinds

Operating-System Configurationa

DDS_THREAD_SETTINGS_FLOATING_POINT

DDS_THREAD_SETTINGS_STDIO

N/A

DDS_THREAD_SETTINGS_REALTIME_PRIORITY

DDS_THREAD_SETTINGS_PRIORITY_ENFORCE

a.See Windows manuals for additional information

10.8ODBC Database Compatibility

To use the Durable Writer History and Durable Reader State features, you must install a rela- tional database such as MySQL.

In principle, you can use any database that provides an ODBC driver, since ODBC is a standard. How- ever, not all ODBC databases support the same feature set. Therefore, there is no guarantee that the persistent durability features will work with an arbitrary ODBC driver.

We have tested the following driver:

MySQL ODBC 5.1.44

Note: Starting with 4.5e, support for the TimesTen database has been removed.

To use MySQL, you also need the MySQL ODBC 5.1.6 (or higher) driver.

69

Windows Platforms

The Durable Writer History and Durable Reader State features have been tested with the follow- ing architectures:

i86Win32VS2005

i86Win32VS2008

i86Win32VS2010

x64Win64VS2010

For more information on database setup, please see the Addendum for Database Setup1.

10.9PPP Link Support for Windows XP Systems

To use a Windows XP point-to-point protocol (PPP) link (such as a serial cable), the UDP trans- port properties for the Connext applications running on the PPP server machine must be config- ured with multicast disabled for the PPP server interface(s).

To disable multicast for an interface, change the UDPv4 transport properties as follows:

// Disable multicast for PPP interface because it causes problems: char *bad_interfaces[] = { "192.168.250.100"}; // interface addr const int num_bad_interfaces =

sizeof(bad_interfaces)/sizeof(bad_interfaces[0]); UDPv4Properties.parent.deny_multicast_interfaces_list =

bad_interfaces; UDPv4Properties.parent.deny_multicast_interfaces_list_length =

num_bad_interfaces;

Failure to do so will result in Connext being unable to send any data at all over the PPP link.

Notes:

Setting up multicast-related socket options for the PPP interface can prevent future uni- cast sends using that socket from working.

Connext sets up certain sockets for multicast even if it has no multicast peers, in case some show up later. You avoid this by configuring the multicast deny list as described above.

10.10Libraries Required for Using RTI Secure WAN Transport APIs

This section is only relevant if you have installed RTI Secure WAN Transport. This feature is not part of the standard Connext package. If you choose to use it, it must be downloaded and installed separately. It is only available on specific architectures. See the RTI Secure WAN Trans- port Release Notes and RTI Secure WAN Transport Installation Guide for details.

To use the WAN or Secure Transport APIs, add the libraries from Table 10.9 on page 77 to your project files.

10.11Libraries Required for Using RTI TCP Transport APIs

To use the TCP Transport APIs, link against the additional libraries from Table 10.10 on page 78. (Select the files appropriate for your chosen library format.)

1. RTI_CoreLibrariesAndUtilities_GettingStarted_DatabaseAddendum.pdf

70

 

 

 

 

 

Windows Platforms

Table 10.5 Building Instructions for Windows Host Architectures

 

 

 

 

 

 

 

 

 

Library

RTI Libraries or Jar Filesa

Required

 

 

API

System

Required Compiler Flags

 

 

Format

 

Libraries

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

nddscz.lib

 

 

 

 

Static

nddscorez.lib

 

/D “RTI_WIN32” /MT

 

 

Release

For Connext Messaging, also

 

 

 

 

 

 

 

 

include: rticonnextmsgcz.lib

 

 

 

 

 

 

 

 

 

 

 

nddsczd.lib

 

 

 

 

Static

nddscorezd.lib

 

/D “RTI_WIN32” /MTd

 

 

Debug

For Connext Messaging, also

netapi32.lib

 

 

 

 

C

 

include: rticonnextmsgczd.lib

advapi32.lib

 

 

 

 

user32.lib

 

 

 

 

nddsc.lib

 

 

 

 

ws2_32.lib

/D “RTI_WIN32”

 

 

Dynamic

nddscore.lib

 

 

 

/D “NDDS_DLL_VARIABLE”

 

 

Release

For Connext Messaging, also

 

 

 

 

/MD

 

 

 

include: rticonnextmsgc.lib

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

nddscd.lib

 

/D “RTI_WIN32”

 

 

Dynamic

nddscored.lib

 

 

 

 

/D “NDDS_DLL_VARIABLE”

 

 

Debug

For Connext Messaging, also

 

 

 

 

/MDd

 

 

 

include: rticonnextmsgcd.lib

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

nddscppz.lib

 

 

 

 

Static

nddscz.lib

 

 

 

 

nddscorez.lib

 

/D “RTI_WIN32” /MT

 

 

Release

 

 

 

For Connext Messaging, also

 

 

 

 

 

 

 

 

 

 

include: rticonnextmsgcppz.lib

 

 

 

 

 

 

 

 

 

 

 

nddscppzd.lib

 

 

 

 

Static

nddsczd.lib

 

 

 

 

nddscorezd.lib

 

/D “RTI_WIN32” /MTd

 

 

Debug

 

 

 

For Connext Messaging, also

netapi32.lib

 

 

 

 

 

 

C++

 

include: rticonnextmsgcppzd.lib

advapi32.lib

 

 

 

nddscpp.lib

user32.lib

 

 

 

 

 

 

 

Dynamic

nddsc.lib

ws2_32.lib

/D “RTI_WIN32”

 

 

nddscore.lib

 

/D “NDDS_DLL_VARIABLE”

 

 

Release

For Connext Messaging, also

 

/MD

 

 

 

 

 

 

 

include: rticonnextmsgcpp.lib

 

 

 

 

 

 

 

 

 

 

 

nddscppd.lib

 

 

 

 

Dynamic

nddscd.lib

 

/D “RTI_WIN32”

 

 

nddscored.lib

 

/D “NDDS_DLL_VARIABLE”

 

 

Debug

For Connext Messaging, also

 

/MDd

 

 

 

 

 

 

 

include: rticonnextmsgcppd.lib

 

 

 

 

 

 

 

 

71

 

 

 

 

 

Windows Platforms

Table 10.5 Building Instructions for Windows Host Architectures

 

 

 

 

 

 

 

 

 

Library

RTI Libraries or Jar Filesa

Required

 

 

API

System

Required Compiler Flags

 

 

Format

 

Libraries

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

nddscpp.lib

 

/D “RTI_WIN32”

 

 

 

nddsc.lib

 

 

 

 

 

/D “NDDS_DLL_VARIABLE”

 

 

Release

nddscore.lib

 

 

 

 

/MD

 

 

 

nddsdotnet.dll or

 

 

C++/

 

 

/D “WIN32_LEAN_AND_MEAN”

 

 

nddsdotnet40.dll

 

 

 

N/A

 

 

 

 

 

 

 

CLI

 

nddscppd.lib

/D “RTI_WIN32”

 

 

 

 

 

 

nddscd.lib

 

 

 

 

 

/D “NDDS_DLL_VARIABLE”

 

 

Debug

nddscored.lib

 

 

 

 

/MDd

 

 

 

nddsdotnetd.dll or

 

 

 

 

 

/D “WIN32_LEAN_AND_MEAN”

 

 

 

nddsdotnet40.dll

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

nddsdotnet.dll or

 

 

 

 

 

nddsdotnet40.dll

 

 

 

 

Release

For Connext Messaging, also

 

 

 

 

include:

 

 

 

 

 

 

 

 

 

 

rticonnextdotnet.dll or

 

 

 

C#

 

rticonnextdotnet40.dll

N/A

N/A

 

 

 

 

 

nddsdotnetd.dll or

 

 

 

 

 

 

 

 

nddsdotnet40d.dll

 

 

 

 

Debug

For Connext Messaging, also

 

 

 

 

include:

 

 

 

 

 

 

 

 

 

 

rticonnextdotnetd.dll or

 

 

 

 

 

rticonnextdotnet40d.dll

 

 

 

 

 

 

 

 

 

 

 

nddsjava.jar

 

 

 

 

Release

For Connext Messaging, also

 

 

 

Java

 

include: rticonnextmsg.jar

N/A

N/A

 

 

 

 

 

nddsjavad.jar

 

 

 

 

 

 

 

Debug

For Connext Messaging, also

 

 

 

 

 

include: rticonnextmsgd.jar

 

 

 

 

 

 

 

 

a.The RTI C/C++ libraries are located in $(NDDSHOME)\lib\<architecture>\. The RTI Java libraries are located in $(NDDSHOME)\class\.

(where $(NDDSHOME) is where Connext is installed, such as c:\rti\ndds.5.x.y)

72

 

 

 

 

 

Windows Platforms

Table 10.6 Building Instructions for Windows Target Architectures

 

 

 

 

 

 

 

 

 

Library

RTI Libraries or Jar Filesa

Required

 

 

API

System

Required Compiler Flags

 

 

Format

 

Libraries

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

nddscz.lib

 

/Gd /MT /D “WIN32”

 

 

Static

nddscorez.lib

 

 

 

 

/D “RTI_WIN32”

 

 

Release

For Connext Messaging, also include:

 

 

 

 

/D “NDEBUG”

 

 

 

rticonnextmsgcz.lib

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

nddsczd.lib

 

 

 

 

Static

nddscorezd.lib

 

/Gd /MTd /D “WIN32”

 

 

Debug

For Connext Messaging, also include:

netapi32.lib

/D “RTI_WIN32”

 

C

 

rticonnextmsgczd.lib

advapi32.lib

 

 

 

nddsc.lib

user32.lib

/Gd /MD /D “WIN32”

 

 

 

 

 

Dynamic

nddscore.lib

ws2_32.lib

/D “NDDS_DLL_VARIABLE”

 

 

Release

For Connext Messaging, also include:

 

/D “RTI_WIN32”

 

 

 

rticonnextmsgc.lib

 

/D “NDEBUG”

 

 

 

 

 

 

 

 

 

nddscd.lib

 

/Gd /MDd /D “WIN32”

 

 

Dynamic

nddscored.lib

 

 

 

 

/D “NDDS_DLL_VARIABLE”

 

 

Debug

For Connext Messaging, also include:

 

 

 

 

/D “RTI_WIN32”

 

 

 

rticonnextmsgcd.lib

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

nddscppz.lib

 

 

 

 

Static

nddscz.lib

 

/Gd /EHsc /MT /D “WIN32”

 

 

nddscorez.lib

 

/D “RTI_WIN32”

 

 

Release

 

 

 

For Connext Messaging, also include:

 

/D “NDEBUG”

 

 

 

 

 

 

 

rticonnextmsgcppz.lib

 

 

 

 

 

 

 

 

 

 

 

nddscppzd.lib

 

 

 

 

Static

nddsczd.lib

 

/Gd /EHsc /MTd /D “WIN32”

 

 

nddscorezd.lib

 

 

 

Debug

 

/D “RTI_WIN32”

 

 

For Connext Messaging, also include:

netapi32.lib

 

 

 

 

 

C++

 

rticonnextmsgcppzd.lib

advapi32.lib

 

 

 

 

user32.lib

 

 

 

nddscpp.lib

 

 

 

 

 

 

 

 

ws2_32.lib

/Gd /EHsc /MD /D “WIN32”

 

 

 

nddsc.lib

 

 

Dynamic

 

/D “NDDS_DLL_VARIABLE”

 

 

nddscore.lib

 

 

 

Release

For Connext Messaging, also include:

 

/D “RTI_WIN32”

 

 

 

 

/D “NDEBUG”

 

 

 

rticonnextmsgcpp.lib

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

nddscppd.lib

 

 

 

 

Dynamic

nddscd.lib

 

/Gd /EHsc /MDd /D “WIN32”

 

 

nddscored.lib

 

/D “NDDS_DLL_VARIABLE”

 

 

Debug

For Connext Messaging, also include:

 

/D “RTI_WIN32”

 

 

 

 

 

 

 

rticonnextmsgcppd.lib

 

 

 

 

 

 

 

 

73

 

 

 

 

 

Windows Platforms

Table 10.6 Building Instructions for Windows Target Architectures

 

 

 

 

 

 

 

 

 

Library

RTI Libraries or Jar Filesa

Required

 

 

API

System

Required Compiler Flags

 

 

Format

 

Libraries

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

nddsdotnet.dll or

 

 

 

 

 

nddsdotnet40.dll

 

 

 

 

Release

For Connext Messaging, also include:

 

 

 

 

 

rticonnextdotnet.dll or

 

 

 

C#

 

rticonnextdotnet40.dll

N/A

N/A

 

 

 

 

 

nddsdotnetd.dll or

 

 

 

 

 

 

 

 

nddsdotnet40d.dll

 

 

 

 

Debug

For Connext Messaging, also include:

 

 

 

 

 

rticonnextdotnetd.dll or

 

 

 

 

 

rticonnextdotnet40d.dll

 

 

 

 

 

 

 

 

 

 

 

nddscpp.lib

 

/Gd /EHsc /MD /D “WIN32”

 

 

 

 

/D “NDDS_DLL_VARIABLE”

 

 

Release

nddsc.lib

netapi32.lib

 

 

/D “RTI_WIN32”

 

C++/

 

nddscore.lib

advapi32.lib

 

 

/D “NDEBUG”

 

CLI

 

 

user32.lib

 

 

 

 

 

 

nddscppd.lib

/Gd /EHsc /MDd /D “WIN32”

 

 

 

ws2_32.lib

 

 

Debug

nddscd.lib

/D “NDDS_DLL_VARIABLE”

 

 

 

 

 

 

nddscored.lib

 

/D “RTI_WIN32”

 

 

 

 

 

 

 

 

 

nddsjava.jar

 

 

 

 

Release

For Connext Messaging, also include:

 

 

 

Java

 

rticonnextmsg.jar

N/A

N/A

 

 

 

 

 

nddsjavad.jar

 

 

 

 

 

 

 

Debug

For Connext Messaging, also include:

 

 

 

 

 

rticonnextmsgd.jar

 

 

 

 

 

 

 

 

a.The RTI C/C++ libraries are located in $(NDDSHOME)\lib\<architecture>\. The RTI Java libraries are located in $(NDDSHOME)\class\.

(where $(NDDSHOME) is where Connext is installed, such as c:\rti\ndds.5.x.y

Table 10.7 Running Instructions for Windows Architectures

RTI Architecture

Library Format

Environment Variables

 

 

 

 

 

 

All supported Windows

N/A

Path=%NDDSHOME%\lib\<architecture>; %Path% a

architectures for Java

 

 

 

 

 

 

Static (Release and

None required

All other supported

Debug)

 

Windows architectures

Dynamic (Release and

Path=%NDDSHOME%\lib\<architecture>; %Path%a

 

Debug)

 

 

 

 

 

a.%NDDSHOME% represents the root directory of your Connext installation. %Path% represents the value of the Path variable prior to changing it to support Connext. When using nddsjava.jar, the Java virtual machine (JVM) will attempt to load release versions of the native libraries. When using nddsjavad.jar, the JVM will attempt to load debug versions of the native libraries.

74

Windows Platforms

Table 10.8 Library-Creation Details for Windows Host Architectures

RTI

Library

Compiler Flags Used by RTI

Architecture

Format

 

 

 

 

 

Dynamic

/O2 /GL /D "WIN32" /D "NDEBUG" /D "NDDS_DLL_VARIABLE"

 

/D "_WINDLL" /D "_UNICODE" /D "UNICODE" /FD /EHa /MD /c

 

Release

i86Win32dotnet2.0,

/Zi /clr /TP

 

i86Win32dotnet4.0

Dynamic

/Od /D "WIN32" /D "_DEBUG" /D "NDDS_DLL_VARIABLE"

 

/D "_WINDLL" /D "_UNICODE" /D "UNICODE" /FD /EHa /MDd /c

 

Debug

 

/Zi /clr /TP

 

 

 

 

 

 

Dynamic

-target 1.4 –source 1.4

 

Release

i86Win32jdk

 

 

 

Dynamic

-target 1.4 –source 1.4 -g

 

 

Debug

 

 

 

 

 

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

Static

-DTARGET=\"i86Win32VS2005\" -DWIN32 -D_WINDOWS

 

Release

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /O2 /Zi /MT

 

 

/EHsc -D_CRT_SECURE_NO_DEPRECATE -DNDEBUG -c

 

 

 

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

Dynamic

-DTARGET=\"i86Win32VS2005\" -DWIN32 -D_WINDOWS

 

Release

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /O2 /Zi /MD

i86Win32VS2005

 

/EHsc -D_CRT_SECURE_NO_DEPRECATE -DNDEBUG -c

 

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

 

 

Static

-DTARGET=\"i86Win32VS2005\" -DWIN32 -D_WINDOWS

 

Debug

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /Od /ZI /MTd

 

 

/EHsc /RTC1 -D_CRT_SECURE_NO_DEPRECATE -c

 

 

 

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

Dynamic

-DTARGE T=\"i86Win32VS2005\" -DWIN32 -D_WINDOWS

 

Debug

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /Od /ZI /MDd

 

 

/EHsc /RTC1 -D_CRT_SECURE_NO_DEPRECATE -c

 

 

 

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

Static

-DTARGET=\"i86Win32VS2008\" -DWIN32 -D_WINDOWS

 

Release

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /O2 /Zi /MT

 

 

/EHsc -D_CRT_SECURE_NO_DEPRECATE -DNDEBUG -c

 

 

 

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

Dynamic

-DTARGET=\"i86Win32VS2008\" -DWIN32 -D_WINDOWS

 

Release

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /O2 /Zi /MD

i86Win32VS2008

 

/EHsc -D_CRT_SECURE_NO_DEPRECATE -DNDEBUG -c

 

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

 

 

Static

-DTARGET=\"i86Win32VS2008\" -DWIN32 -D_WINDOWS

 

Debug

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /Od /ZI /MTd

 

 

/EHsc /RTC1 -D_CRT_SECURE_NO_DEPRECATE -c

 

 

 

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

Dynamic

-DTARGE T=\"i86Win32VS2008\" -DWIN32 -D_WINDOWS

 

Debug

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /Od /ZI /MDd

 

 

/EHsc /RTC1 -D_CRT_SECURE_NO_DEPRECATE -c

 

 

 

75

Windows Platforms

Table 10.8 Library-Creation Details for Windows Host Architectures

RTI

Library

Compiler Flags Used by RTI

Architecture

Format

 

 

 

 

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

Static

-DTARGET=\"i86Win32VS2010\" -DWIN32 -D_WINDOWS

 

Release

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /O2 /Zi /MT

 

 

/EHsc -D_CRT_SECURE_NO_DEPRECATE -DNDEBUG -c

 

 

 

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

Dynamic

-DTARGET=\"i86Win32VS2010\" -DWIN32 -D_WINDOWS

 

Release

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /O2 /Zi /MD

i86Win32VS2010

 

/EHsc -D_CRT_SECURE_NO_DEPRECATE -DNDEBUG -c

 

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

 

 

Static

-DTARGET=\"i86Win32VS2010\" -DWIN32 -D_WINDOWS

 

Debug

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /Od /ZI /MTd

 

 

/EHsc /RTC1 -D_CRT_SECURE_NO_DEPRECATE -c

 

 

 

 

 

-DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=I80586

 

Dynamic

-DTARGE T=\"i86Win32VS2010\" -DWIN32 -D_WINDOWS

 

Debug

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /Od /ZI /MDd

 

 

/EHsc /RTC1 -D_CRT_SECURE_NO_DEPRECATE -c

 

 

 

 

Dynamic

/O2 /GL /D "WIN64" /D "NDEBUG" /D "NDDS_DLL_VARIABLE"

 

/D "_WINDLL" /D "_UNICODE" /D "UNICODE" /FD /EHa /MD /c /Zi

 

Release

x64Win64dotnet2.0,

/clr /TP

 

x64Win64dotnet4.0

Dynamic

/Od /D "WIN64" /D "_DEBUG" /D "NDDS_DLL_VARIABLE"

 

/D "_WINDLL" /D "_UNICODE" /D "UNICODE" /FD /EHa /MDd /c /Zi

 

Debug

 

/clr /TP

 

 

 

 

 

 

Dynamic

-target 1.4 –source 1.6

 

Release

x64Win64jdk

 

 

 

Dynamic

-target 1.4 –source 1.6 -g

 

 

Debug

 

 

 

 

 

 

 

/W3 -DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

Static

-DTARGET=\"x64Win64VS2005\" -DWIN32 -D_WINDOWS

 

Release

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /O2 /Zi /MT

 

 

/EHsc -D_CRT_SECURE_NO_DEPRECATE -DNDEBUG -c

 

 

 

 

 

/W3 -DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

x64Win64VS2005

Dynamic

-DTARGET=\"x64Win64VS2005\" -DWIN32 -D_WINDOWS

 

Release

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /O2 /Zi /MD

Note: linker

 

/EHsc -D_CRT_SECURE_NO_DEPRECATE -DNDEBUG -c

 

 

requires /

 

/W3 -DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

MACHINE:X64

Static

-DTARGET=\"x64Win64VS2005\" -DWIN32 -D_WINDOWS

option.

Debug

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /Od /ZI /MTd

 

 

/EHsc /RTC1 -D_CRT_SECURE_NO_DEPRECATE -c

 

 

 

 

 

/W3 -DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

Dynamic

-DTARGET=\"x64Win64VS2005\" -DWIN32 -D_WINDOWS

 

Debug

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /Od /ZI /MDd

 

 

/EHsc /RTC1 -D_CRT_SECURE_NO_DEPRECATE -c

 

 

 

76

Windows Platforms

Table 10.8 Library-Creation Details for Windows Host Architectures

RTI

Library

Compiler Flags Used by RTI

Architecture

Format

 

 

 

 

 

 

/W3 -DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

Static

-DTARGET=\"x64Win64VS2008\" -DWIN32 -D_WINDOWS

 

Release

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /O2 /Zi /MT

 

 

/EHsc -D_CRT_SECURE_NO_DEPRECATE -DNDEBUG -c

 

 

 

 

 

/W3 -DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

x64Win64VS2008

Dynamic

-DTARGET=\"x64Win64VS2008\" -DWIN32 -D_WINDOWS

 

Release

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /O2 /Zi /MD

Note: linker

 

/EHsc -D_CRT_SECURE_NO_DEPRECATE -DNDEBUG -c

 

 

requires /

 

/W3 -DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

MACHINE:X64

Static

-DTARGET=\"x64Win64VS2008\" -DWIN32 -D_WINDOWS

option.

Debug

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /Od /ZI /MTd

 

 

/EHsc /RTC1 -D_CRT_SECURE_NO_DEPRECATE -c

 

 

 

 

 

/W3 -DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

Dynamic

-DTARGET=\"x64Win64VS2008\" -DWIN32 -D_WINDOWS

 

Debug

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /Od /ZI /MDd

 

 

/EHsc /RTC1 -D_CRT_SECURE_NO_DEPRECATE -c

 

 

 

 

 

/W3 -DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

Static

-DTARGET=\"x64Win64VS2010\" -DWIN32 -D_WINDOWS

 

Release

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN

 

 

/O2 /Zi /MT /EHsc -D_CRT_SECURE_NO_DEPRECATE -DNDEBUG -c

 

 

 

 

 

/W3 -DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

x64Win64VS2010

Dynamic

-DTARGET=\"x64Win64VS2010\" -DWIN32 -D_WINDOWS

 

Release

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN

Note: linker

 

/O2 /Zi /MD /EHsc -D_CRT_SECURE_NO_DEPRECATE -DNDEBUG -c

 

 

requires /

 

/W3 -DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

MACHINE:X64

Static

-DTARGET=\"x64Win64VS2010\" -DWIN32 -D_WINDOWS

option.

Debug

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /Od /ZI /MTd

 

 

/EHsc /RTC1 -D_CRT_SECURE_NO_DEPRECATE -c

 

 

 

 

 

/W3 -DPtrIntType=long -DCSREAL_IS_FLOAT -DCPU=AMD64

 

Dynamic

-DTARGET=\"x64Win64VS2010\" -DWIN32 -D_WINDOWS

 

Debug

-D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN /Od /ZI /MDd

 

 

/EHsc /RTC1 -D_CRT_SECURE_NO_DEPRECATE -c

 

 

 

Table 10.9 Additional Libraries for Using RTI Secure WAN Transport APIs on Windows Systems

Library Format

RTI Secure WAN Transport Librariesa

OpenSSL Librariesb

 

 

 

Dynamic Release

nddstransportwan.lib

 

nddstransporttls.lib

 

 

 

 

 

 

Dynamic Debug

nddstransporttlsd.lib

 

nddstransportwand.lib

 

 

ssleay32.lib libeay32.lib

 

 

Static Release

nddstransportwanz.lib

 

nddstransporttlsz.lib

 

 

 

 

 

 

Static Debug

nddstransportwanzd.lib

 

nddstransporttlszd.lib

 

 

 

 

 

 

a.These libraries are located in <wan install dir>\lib\<architecture>\ (where <wan install dir> is where RTI Secure WAN Transport is installed, such as c:\rti\ndds.5.x.y)

b.These libraries are located in <openssl install dir>\<architecture>\lib, where <openssl install dir> is where you installed OpenSSL, such as c:\rti\openssl-0.9.8f.

77

Windows Platforms

Table 10.10 Additional Libraries for Using RTI TCP Transport APIs on Windows Systems

Library Format

RTI TCP Transport Librariesa

 

 

Dynamic Release

nddstransporttcp.dll

 

 

Dynamic Debug

nddstransporttcpd.dll

 

 

Static Release

nddstransporttcpz.lib

 

 

Static Debug

nddstransporttcpzd.lib

 

 

a.The libraries are located in <Connext install dir>\lib\<architecture>\, where <Connext install dir> is where you installed Connext, such as /local/rti/ndds.5.x.y.

Table 10.11 Additional Libraries for using RTI TCP Transport APIs on Windows Systems with TLS Enabled

Library Format

RTI TLS Librariesa

 

 

Dynamic Release

nddstls.dll

 

 

Dynamic Debug

nddstlsd.dll

 

 

Static Release

nddstlsz.dll

 

 

Static Debug

nddstlszd.dll

 

 

OpenSSL Libraries

ssleay32.lib

libeay32.lib

 

 

 

a.The libraries are located in <TLS install dir>/lib/<architecture>/., where <TLS install dir> is where you installed RTI TLS Support, such as /local/rti/ndds.5.x.y.

78