Are you using the Eclipse IDE to use Edison's SDK? If so, you can follow these guides:
In case you're not using Eclipse IDE, how are you using Edison's SDK? I’d need a little bit more info in order to provide you a more accurate answer.
No, I'm just using the environment in Linux command line
Thanks for letting me know, I'm used to hearing Edison SDK when people refer to Eclipse. In that case you can check Edison's Native Application Guide (http://download.intel.com/support/edison/sb/edison_nag_331192003.pdf) on section 4. It explains how to use add libraries on a project for Edison.
Thanks for the fast reply!
Exactly what I needed, except for one little thing.
It seems that now, every time I will need a lib, I will have add it manually to the compiler call, or even worse, to an autotools-generated Makefile. Is there a path I could copy the files to, so that they are always available for future builds automatically?
Have you tried to add a symlink of the library to /opt/poky-edison/1.7.2/sysroots/core2-32-poky-linux/usr/include? This directory stores most libraries, maybe a symlink to this path may cause the compiler to detect the library.
1 of 1 people found this helpful
Thanks for the tip!
Actually what I did was change prefix when running the ./configure script like this:
After this you can run make and make install as usual. This is only works for the GNU autotools-based project though.
Unfortunately, many projects out there are filled with bugs that only arise when cross-compiling, so it takes some patience to build a project with many dependencies.