Hi Punith,

Try building it as a static binary..

Use : arm-none-linux-gnueabi-gcc app.c -o app --static.

Mostly it should work.

Regards,
Ramya


On Wed, Jun 26, 2013 at 4:08 PM, Puneet B <punit...@gmail.com> wrote:

> i have written simple application code ,
>
> 1>vi app.c
>
> #include<stdio.h>
> main()
> {
> printf("hello world\n");
> }
>
> 2>arm-none-linux-gnueabi-ggc app.c -o app
>
> 3>i copied app binary file to sd card.
>
> 4>./app
> once i run this
> ./app No such files or directory.
>
> but which is working in debian rootfs.
>
> kindly tell me
> how to compile simple C code in android.
> i am using A10 armv7 board
>
> Thanks
> Punith
>
>
>  --
> --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>
> ---
> You received this message because you are subscribed to the Google Groups
> "android-porting" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-porting+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to