4.6. Windows Platforms

The following table shows the currently supported Windows platforms.

Table 4.17 Supported Windows Platforms

OS

Version

CPU

Network Stack

Toolchain

Architecture PIL

Architecture PSL

Windows

10

x64

OS Default

Visual Studio 2017

x86_64lePEvs2017

x86_64lePEvs2017CERT

x86_64lePEvs2017-Win10

x86_64lePEvs2017CERT-Win10

4.6.1. How the PIL was built for Windows platforms

This section describes how RTI built the Platform Independent Library (PIL) for Windows platforms.

The following table shows the compiler flags RTI used to create the PIL for Windows platforms:

Table 4.18 PIL Compiler Flags for Windows Platforms

Architecture PIL

Library Format

Compiler Flags Used by RTI

x86_64lePEvs2017

Static/Shared Release

C Flags: _WINDOWS;WIN32;_WINDOWS;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0600;_CRT_SECURE_NO_WARNINGS;
C++ Flags: _WINDOWS;WIN32;_WINDOWS;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0600;_CRT_SECURE_NO_WARNINGS;

Static/Shared Debug

C Flags: _DEBUG;_WINDOWS;WIN32;_WINDOWS;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0600;_CRT_SECURE_NO_WARNINGS;
C++ Flags: _DEBUG;_WINDOWS;WIN32;_WINDOWS;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0600;_CRT_SECURE_NO_WARNINGS;

x86_64lePEvs2017CERT

Static Release

C Flags: _WINDOWS;WIN32;_WINDOWS;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0600;_CRT_SECURE_NO_WARNINGS;

Static Debug

C Flags: _DEBUG;_WINDOWS;WIN32;_WINDOWS;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0600;_CRT_SECURE_NO_WARNINGS;

Warning

The RTI Connext Micro platform independent libraries are built without the standard C header-files. However, Connext Micro makes one direct call to the C library API qsort. In addition, MSVS may insert direct calls to C library functions and other required functions, such as default C++ constructors and destructors. For this reason it is necessary to use an MSVS version that is compatible with the MSVS version used to build the platform independent libraries, or provide a C library with an implementation of the required functions. Future versions of RTI Connext Micro will remove these dependencies.

4.6.2. Building the PSL from source for Windows platforms

Refer to Building the PSL for instructions on how to build your own Platform Support Library (PSL) for Windows platforms.

The following table shows the compiler flags and required options that RTI used to build the PSL for Windows platforms. When you build the PSL with rtime-make, the --target argument automatically adds all the necessary flags for the specified architecture.

Table 4.19 PSL Compiler Flags for Windows Platforms

Architecture PSL

Library Format

Compiler Flags Used by RTI

x86_64lePEvs2017-Win10

Static/Shared Release

C Flags: _WINDOWS;WIN32;_WINDOWS;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0600;_CRT_SECURE_NO_WARNINGS;
C++ Flags: _WINDOWS;WIN32;_WINDOWS;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0600;_CRT_SECURE_NO_WARNINGS;

Static/Shared Debug

C Flags: _DEBUG;_WINDOWS;WIN32;_WINDOWS;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0600;_CRT_SECURE_NO_WARNINGS;
C++ Flags: _DEBUG;_WINDOWS;WIN32;_WINDOWS;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0600;_CRT_SECURE_NO_WARNINGS;

x86_64lePEvs2017CERT-Win10

Static Release

C Flags: _WINDOWS;WIN32;_WINDOWS;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0600;_CRT_SECURE_NO_WARNINGS;

Static Debug

C Flags: _DEBUG;_WINDOWS;WIN32;_WINDOWS;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0600;_CRT_SECURE_NO_WARNINGS;