Cross compiling the SDK under Windows

Questions regarding the use of the C++ SDK for Server or Client development or integration into customer products ...

Moderator: uasdkcpp

Post Reply
kurt
Sr. Member
Sr. Member
Posts: 13
Joined: 17 Apr 2012, 09:01

Cross compiling the SDK under Windows

Post by kurt »

Hi all,

we want to cross compile the SDK under Windows for Linx X86 and PPC targets.
We are using a ggc 4.6.1 based cross tool chain from code sourcery in combination with MSYS.

Will it be straight forward to make CMake use our cross tool chain, so that we can directly reuse the provided CMake project files?

What are the basic steps to do. Is there any documentaion on this topic?

Currently I am stuck with the CMake compiler check, because the cross compiler generates code that is not executable on Windows. I know this is a common problem when cross compiling, but I am an absolute beginner with CMake.:blush:

Any help appreciated.

Regards
Kurt

User avatar
Support Team
Hero Member
Hero Member
Posts: 3072
Joined: 18 Mar 2011, 15:09

Re:Cross compiling the SDK under Windows

Post by Support Team »

Hi Kurt!

We have some explanations for cross-compiling the SDK to any architecture (Build Instructions for C++ SDK (Source Edition), download link: http://www.unified-automation.com/downl ... ation.html).
There is also a very good wiki page from CMake itself
(link: http://www.cmake.org/Wiki/CMake_Cross_Compiling). All these examples should provide enough information to get familiar with CMake.



Best regards
Support Team
Best regards
Unified Automation Support Team

Post Reply