I have also followed these advice. https://wiki.iotivity.org/iotivity_porting_to_arm_based_platforms
I am running: scons TARGET_OS=linux TARGET_ARCH=arm TARGET_TRANSPORT=IP SECURED=0 RELEASE=1 TC_PREFIX=arm-none-linux-gnueabi- TC_PATH=/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/bin I added this line but nothing happened :/ ________________________________ From: Mats Wichmann <[email protected]> Sent: Saturday, July 8, 2017 7:06 PM To: Natalia Theologou; iotivity-dev at lists.iotivity.org Subject: Re: [dev] Cross compile Iotivity for arm On 07/08/2017 09:42 AM, Natalia Theologou wrote: > Hello, > > > I am trying to cross compile iotivity for arm architecture. I am getting the > error that it can not find boost_thread. > > I found out that I have to cross compile all the libs that I want (boost, > gtest0 from a previous thread. > > What is the best way to do this? Has anyone resolved this issue? > I took the steps according this > advice<https://stackoverflow.com/questions/29029867/cross-compile-boost-1-57-0-on-ubuntu-for-arm>. > But I keep getting the error. [https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon at 2.png?v=73d79a89bded]<https://stackoverflow.com/questions/29029867/cross-compile-boost-1-57-0-on-ubuntu-for-arm> g++ - cross compile Boost 1.57.0 on ubuntu for arm - Stack ...<https://stackoverflow.com/questions/29029867/cross-compile-boost-1-57-0-on-ubuntu-for-arm> stackoverflow.com I am new into cross compile process. Need to cross compile boost library for arm. Please suggest step to cross-compile boost library. Is it possible to cross compile ... The library check has to happen with the cross-build environment completely set up. Can you share how you are calling scons (the setting for TC_PATH in particular)? It might even be interesting to dump your construction environment - in build_common/SConscript, you can stick this line in at the end, just before the last line Return('env'): print env.Dump() this will show a lot about your setup, before anything starts running (and failing). -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170709/4507b11b/attachment.html>
