ZettaScale Knowledge Base ZettaScale Knowledge Base

  • Home
  • DDS Products
    • DDS Overview and Concepts
    • OpenSplice DDS
      • OpenSplice DDS
        • OpenSplice FAQ
        • Why OpenSplice DDS?
        • Installation
          • OpenSplice Licensing FAQ
        • Best Practice and Possible Errors
        • API and IDL
        • Configuration
        • Networking
          • DDSI
          • RT Networking
        • Durability Service
        • DDS Security
        • Logging
        • Databases and DBMS
        • Release Notes
      • OpenSplice Tools
        • Overview
        • OpenSplice Launcher
        • OpenSplice Tuner
        • OpenSplice Tester
        • Record and Replay Manager
        • MMStat
    • Cyclone DDS
  • Zenoh
  • Contact Support
Home / DDS, OpenSplice DDS, API and IDL / Can you build a DDS application on Windows using CYGWIN?

Can you build a DDS application on Windows using CYGWIN?

I want to use the same program code as for an application on a Linux-PC (GNU GCC/G ++). Is this possible?

For OpenSplice we use the cygwin environment only for tools like make, flex, bison and the bash scripting: the OpenSplice source code is compiled with the Microsoft compiler from within the cygwin environment. This means that the resulting libraries and executables are identical to versions that would have been built as Visual Studio projects. The advantage of this is that you have seamless integration with most of the software that is deployed on the Windows platform.

In the past we did build using the cygwin provided compiler and linker toolchain, but the resulting libraries (in particular static libraries) were not always usable for Visual Studio developers. Hence the move to the Microsoft compiler.

If you wish to build the product again using the cygwin toolchain it would be a large job which we would not recommend. There would be a severe impact on all the makefiles and it would also effect the Windows abstraction layer that now uses calls directly into the Microsoft kernel instead of into the cygwin POSIX layer.

Related

DDSOpenSplice DDSAPI and IDL
twitter logo linkedin logo
News and Events
Copyright © 2022 ZettaScale Technology Ltd. All Rights Reserved