We need to set up environment to cross-compile our project on Windows.
There are several third-party dependencies - http://www.boost.org/ Boost, http://avro.apache.org/docs/current/api/cpp/html/index.html Avro C++ and http://botan.randombit.net/ Botan.
But while building Boost the compiler from Cross-compile https://software.intel.com/en-us/iot/hardware/edison/downloads Tools crashes each time.
Have someone faced with similar problem?
I have made the following steps to cross-compile Boost:
1. Download SDK - Cross compile tools https://software.intel.com/en-us/iot/hardware/edison/downloads there.
2. Unzip it.
3. Add the directory with compilers to the PATH variable. (\sysroots\x86_64-pokysdk-mingw32\usr\bin\i586-poky-linux)
4. Set the system variable SYSROOT_PATH to "\sysroots\core2-32-poky-linux" to find platform headers and libraries.
5. To build Boost:
2) Edit project-config.jam.Enter the following text:
import option ;
import os ;
local SYSROOT_PATH = [ os.environ SYSROOT_PATH ] ;
using gcc : : i586-poky-linux-g++.exe : --sysroot=$(SYSROOT_PATH) ;
option.set keep-going : false ;
3) b2.exe install target-os=linux --prefix="%SYSROOT_PATH%\usr"
Several static Boost libraries were built and put to "%SYSROOT_PATH%\usr".
But the built process was crashed without any message.
Have you checked if there is an error.log file somewhere in /home?
Also, is the process just being stopped? There is nothing else that could be pointing to a place to debug this?
An alternative for this can be including the source/headers files for the libraries you need in the image before building the toolchain.