compile problem

    Hi, everyone, here is my problem.
    I write my codes in Eclipse CDT, the program works successfully when i use PC Emulation, but when i use cross compiler to compile the program, it cannot run on a Linux Arm device. What variables should i set to compile the codes in Eclipse? or i should write a makefile by myself?
    The binaries of demos of the arm sdk run well on my device, so i think it must be the compile problem. plz help me out. thx.


I redefined the build path in eclipse ,the menu is based on the project properties( Eclipse Build C++ tabs,section build operation) and give the correct path to find the make,

if necessary you can update the existing make with the missing env varialble (plateform ,et missing lib can be set in the make as usual.

hope it help