Hi all,
I was wondering if anyone could help with the problem I'm facing,
I want to run a cross-compiled Hello world written in C on the
beagleboard with Android OS, my target is simple to print on the
serial console "Hello World"
Everytime I try to run the application the following error arises ::-
# ./hello
./hello: not found
However I can cat the file and it exists .
P.S:-I'm using Android over the board .
This is the Makefile
ARCH=arm
CC = /root/omap_pm/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/
bin/gcc
RTdir = /system/lib/libc.so
all:
$(CC) -g -Wall -L$(RTdir) -Wl,-rpath,$(RTdir) -ldl hello.c -o
hello
Thanks
Best Regards