akhilesh kumar wrote:
> Hi All,
Hi!

> I have compiled my simple "hello world"  application from android arm
> tool chain (mydroid/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin)
> 
> *$ agcc hello.c -o hello

"-Wall -O2" as additional options do in most cases not hurt ;)

> *Now I  am trying to run hello world application on android emulator
> form using sdcard mount .
> and I am getting the following error
> 
> # sh /sdcard/hello
> /sdcard/hello: 1: Syntax error: word unexpected (expecting ")")
> 
> please guide me how to resolve this problem.  

Umpf... you are trying to evaluate a binary with a shell.
Simply do

# /sdcard/hello

> Thanks,
> Akhilesh
Cheers
  nils

-- 
kernel concepts GbR        Tel: +49-271-771091-12
Sieghuetter Hauptweg 48
D-57072 Siegen             Mob: +49-176-21024535
http://www.kernelconcepts.de

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to