Skip to content

Instantly share code, notes, and snippets.

@arkival
Last active March 21, 2018 00:31
Show Gist options
  • Select an option

  • Save arkival/f11088a0ded82484a47e to your computer and use it in GitHub Desktop.

Select an option

Save arkival/f11088a0ded82484a47e to your computer and use it in GitHub Desktop.
C/C++ cross compilation from the command line for the Intel Edison
C/C++ cross compilation from the command line for the Intel Edison
@fekerr
Copy link

fekerr commented Nov 20, 2015

i586-poky-linux-gcc --sysroot=%POKY_LINUX% -lmraa blink.c -o blink

should be

i586-poky-linux-gcc --sysroot=%POKY_HOME% -lmraa blink.c -o blink

@jamieosullivan
Copy link

Very useful summary, thanks!

@ShawnHymel
Copy link

This was a great explanation, thank you! It looks like the download link for the SDK has changed to: https://software.intel.com/en-us/iot/hardware/edison/downloads

@pbosetti
Copy link

pbosetti commented Mar 4, 2016

Thanks. BTW, on OS X it should be tar -xvf rather than tar -vf.

@pbosetti
Copy link

pbosetti commented Mar 4, 2016

Side note: it seems that the i586-poky-linux-ar can't find the library @loader_path/../../lib/libfl.2.dylib on OS X: can you actually run the ar command on OS X? where did you find that libfl library?

@pbosetti
Copy link

pbosetti commented Mar 5, 2016

Nevermind, I solved every issue. Just in case, solution is here: https://gist.github.com/pbosetti/027125c4ba066f51bf2c

@egorf
Copy link

egorf commented Apr 15, 2016

Hi!

Great guide!

How can I add new libraries to this setup?

@itodirel
Copy link

I can't get the compilers to work on Windows, the SDK is completely different from what you claim here, it doesn't have any of the files, and the compilers cannot run complaining that Cygwin is not installed

@ramisha93
Copy link

can't get the compilers to work on Windows, the SDK is completely different from what you claim here, it doesn't have any of the files, and the compilers cannot run complaining that Cygwin is not installed
How to install (SDK) Intel system studio for IOT edition for coding c/c++/java on intel edison
https://youtu.be/344Js4XK_BQ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment