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.
Any help appreciated.
Regards
Kurt
Cross compiling the SDK under Windows
Moderator: uasdkcpp
- Support Team
- Hero Member
- Posts: 3072
- Joined: 18 Mar 2011, 15:09
Re:Cross compiling the SDK under Windows
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
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
Unified Automation Support Team