Colleagues, Hello!
Help with the launch of the executable file on the core of the smartphone.
I have qualcomm chip MSM8996. Hexagon architecture V60.
I built an empty project, it is contained only the function main() and the empty body. Next, I want to fill the program with code and debug on the device!
What am I doing?
- I am building a project from a single file on c ++ from under windows 7 on qualcomm_hexagon_sdk_3_4_1_eval
- I am makeing the build configuration as LLVM_Release. The output after the build is a binary file elf with the "name" and the file "name.o"
- Next, I connect to the phone with adb. The following list of commands
adb push name/data/local/tmp/
adb shell chmod 777 /data/local/tmp/name
adb shell cd/data/local/tmp/; ./name
The system gives an error:
/system/bin/sh: ./name: not executable: 32-bit ELF file
Why can't I run my elf file? What have I done wrong?