I have a Linux virtual machine (Ubuntu 18.04) running on an x86 machine.
I’m running Eclipse (2018-12, 4.10.0).
My target is the Toradex Colibri iMX6DL 512MB IT V1.0B.
As described here on the Toradex website:
I’ve successfully followed all of the steps to create, build and run a debug session of a C++ Hello-World project within Eclipse on the iMX6 target.
The next step I have is to use some Boost libraries (namely, asio and bind).
I installed boost using:
sudo apt-get install libboost-all-dev
After the install, I can see the boost header files and include them into my source code.
However, these boost libraries use the boost_system library, which appears to require compilation of the library.
(Refer to section #3 of Boost Getting Started on Unix Variants - 1.69.0)
Thus, it appears I need to compile boost_system using the toradex ARM toolchain (arm-angstrom-linux-gnueabi-g++) so that it can be incorporated into the application build to run on the iMX6.
Does anyone know how to do this?
I’ve tried following suggestions on these websites:
but they don’t seem to address the issue directly.
- I’m not able to build a new linux image (I have to work with the image I have).
- The bjam (b2) Boost.Build utility doesn’t appear to be capable of using the Toradex arm-angstrom-linux-gnueabi-gcc toolchain.
Thus, ultimately, what I need is to build boost_system cross-compiled for ARM so that I can include it in my Eclipse project.
Thanks much in advance for the help!