From where are you getting these libraries? Are these libraries made for the Arduino IDE, or are you getting them from the board (/usr/include)?
Have you tried to use the xdk? I think that for your kind of project it could be better to use the XDK
Thanks for reply me.
The library i got from Edison board(/usr/include),
i copy them and put them into path: arduino-1.5.3-Intel.1.0.4\hardware\tools\x86\i586-poky-linux-uclibc\usr\include\.
For example like using "mraa" library in Intel Arduino, i need copy folder mraa from Edison board(/usr/include/mraa) to "arduino-1.5.3-Intel.1.0.4\hardware\tools\x86\i586-poky-linux-uclibc\usr\include\.mraa"
then i also need to copy from Edison Borad " /usr/lib/libmraa.so" to "arduino-1.5.3-Intel.1.0.4\hardware\tools\x86\i586-poky-linux-uclibc\lib\" .
But when i compiler the program in Adruino ,i need to tell the linker that it should link mraa library also ,which show in compiler command line is like add "-lmraa".
So that is why i am asking how to change the compiler command line in Intel Aduino IDE for using more function that is supported by Edison Board.
BTW your are right ,i never use XDK before i will try it today.
Add it to the file <Arduino folder>\hardware\arduino\edison\platform.*.txt, if you are using windows then the file name is platform.win.txt. Search for "recipe.c.combine.pattern" in the file, the line should end with something like "-lm -lpthread", add to the end of the line -l<your lib>