Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
1,664 Views

cross-compilation targeting joule

Hi,

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?

Thanks,

Gregg

4 Replies
Highlighted
Community Manager
12 Views

Hi Gregg,

 

 

I apologize for the delay in replying to your case. We'll investigate a bit further and contact you soon with a suggestion.

 

 

-Sergio

 

0 Kudos
Highlighted
Community Manager
12 Views

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.

 

 

-Sergio

 

0 Kudos
Highlighted
Community Manager
12 Views

Hi Gregg,

 

 

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.

 

 

-Sergio

 

0 Kudos
Highlighted
Community Manager
12 Views

Hi Gregg

 

 

Do you still need assistance with this case, did you find the suggestion we posted useful?

 

 

-Sergio

 

0 Kudos