hi, guys:
Currently, i want to execute a Cotex-A9 binary compiled by ARMCC on Juno board(OS is linux).
But when i ran it, it reported that "XX: No such file or directory".
My questions are:
(1) Did somebody meet this problem before ?
and could you show me how to fix it ?
(2) I only tried the Linux system, is it same with Android ?
or we need another policy to fix the problem in Android ?
thanks ahead.
here is a part of my makefile:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CFLAGS = --c99 -c -Otime -O3 --fpu=SoftVFP+VFPv3 --cpu=Cortex-A9 --arm_linux_config_file=$(ARM_LINUX_CONFIG_FILE) --arm_linux_paths
LDFLAGS = -L--fpu=SoftVFP+VFPv3 -L--cpu=Cortex-A9 --cpp --arm_linux_config_file=$(ARM_LINUX_CONFIG_FILE) --arm_linux_paths
after compliling, the binary will be generated, named "arm32_bin"
i ran it by "./arm32_bin -h" on Juno board by Linux OS.
the expect output should be a user manual.
but the current output is "arm32_bin: No such file or directory"
Seems like can not find some libraries.
Please check LD_LIBRARY_PATH first.