I've got basic cross-compilation working for an Iotivity fork going OSX/Ubuntu -> Edison (using the Intel-supplied toolchain) and I would like to do same for the Joule.
I've also managed to flash Ostro to an Edison, so cross-compiling from OSX/Ubuntu (or windows etc.) to Ostro-on-Edison is also desirable.
I'm not talking about creating and flashing a complete image. I just want to cross-compile my app code (which in this case means my Iotivity kernel code plus my Iotivity apps code). I know the Joule is powerful enough to support at least some app dev, but of course a tricked-out dev machine will always be a *lot* faster.
I haven't found an Intel-supplied cross-compile toolkit for Joule/Ostro. Can I use crosstool-ng or some other tool?
We're still working to find the cross compiler. Please use the System Studio which can be downloaded here https://software.intel.com/en-us/node/660275 https://software.intel.com/en-us/node/660275 . When we find some information on the cross compiler we'll post it here but it may not be available yet.
Thank you for your patience. We looked for the cross compiler and you're right, it's a little hard to find but we'll guide you through the steps.
First, go to the Joule downloads site here https://software.intel.com/en-us/iot/hardware/joule/downloads https://software.intel.com/en-us/iot/hardware/joule/downloads
There is a link for "Download the operating system (OS) image" which points to https://download.ostroproject.org/builds/ostro-os-xt/latest/images/intel-corei7-64 https://download.ostroproject.org/builds/ostro-os-xt/latest/images/intel-corei7-64
At this point you need to go up two parent directories, you will find a 'sdk" folder with the cross compiler, at https://download.ostroproject.org/builds/ostro-os-xt/latest/sdk/intel-corei7-64/ostroxt-x86_64-corei... https://download.ostroproject.org/builds/ostro-os-xt/latest/sdk/intel-corei7-64/ostroxt-x86_64-corei...
This allows you to build code using the provided cross compiler on your Ubuntu 16.04 desktop/laptop/workstation machine.
Let us know if this is what you were looking for.