6.6. Windows Platforms¶
The following table shows the currently 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 |
6.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:
Architecture PIL |
Library Format |
Compiler Flags Used by RTI |
---|---|---|
x86_64lePEvs2017 |
Static Release |
C Flags: /X /nologo /W3 -DRTI_WIN32 -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -D_CRT_SECURE_NO_WARNINGS -DRTI_PIL=1 C++ Flags: /X -DRTI_WIN32 -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -D_CRT_SECURE_NO_WARNINGS -DRTI_PIL=1 |
Static Debug |
C Flags: /X /nologo /W3 -DRTI_WIN32 /Zi /Od -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -D_CRT_SECURE_NO_WARNINGS -DRTI_PIL=1 C++ Flags: /X -DRTI_WIN32 /Zi /Od -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -D_CRT_SECURE_NO_WARNINGS -DRTI_PIL=1 |
|
x86_64lePEvs2017CERT |
Static Release |
C Flags: /X /nologo /W3 -DRTI_WIN32 -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -D_CRT_SECURE_NO_WARNINGS -DRTI_PIL=1 -DRTI_CERT |
Static Debug |
C Flags: /X /nologo /W3 -DRTI_WIN32 -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -D_CRT_SECURE_NO_WARNINGS -DRTI_PIL=1 -DRTI_CERT |
Warning
The RTI Connext Micro platform independent libraries are built without the standard C
header-files. However, in RTI Connext Micro 4.1.0, there is 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.
6.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.
6.6.3. Building Windows applications with Connext Micro¶
This section describes how RTI built the Platform Support Library (PSL) for
Windows platforms. You must build applications with compatible flags to the PIL
and PSL in order to operate with Connext Micro. The PSL must also be binary compatible
with the PIL. Applications must not specify the RTI_PSL
or RTI_PIL
preprocessor definitions.
The following table shows the compiler flags and required options that RTI
used to build the PSL for FreeRTOS platforms. When you build the PSL with
rtime-make
, the --target
argument automatically adds all the necessary
flags for the specified architecture.
Architecture PSL |
Library Format |
Compiler Flags Used by RTI |
---|---|---|
x86_64lePEvs2017-Win10 |
Static Release |
C Flags: /X /nologo /W3 -DRTI_WIN32 -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -D_CRT_SECURE_NO_WARNINGS -DRTI_PSL=1 C++ Flags: /X -DRTI_WIN32 -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -D_CRT_SECURE_NO_WARNINGS -DRTI_PSL=1 |
Static Debug |
C Flags: /X /nologo /W3 -DRTI_WIN32 /Zi /Od -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -D_CRT_SECURE_NO_WARNINGS -DRTI_PSL=1 C++ Flags: /X -DRTI_WIN32 /Zi /Od -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -D_CRT_SECURE_NO_WARNINGS -DRTI_PSL=1 |
|
x86_64lePEvs2017CERT-Win10 |
Static Release |
C Flags: /X /nologo /W3 -DRTI_WIN32 -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -D_CRT_SECURE_NO_WARNINGS -DRTI_PSL=1 -DRTI_CERT |
Static Debug |
C Flags: /X /nologo /W3 -DRTI_WIN32 -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -D_CRT_SECURE_NO_WARNINGS -DRTI_PSL=1 -DRTI_CERT |