Have a look at the various applications that are part of the external
branch, e.g. ping. What you will need is simply an Android.mk file, which
can be easily adapted from an existing one. Have a look at
http://android.git.kernel.org/?p=platform/external/ping.git;a=tree
There are only three files in the project (and one you could do without).
This works just as well for C++ files, as long as you do not overdo the ++
part of it.

HTH
Ludwig


2009/3/4 Meryl Silverburgh <[email protected]>

>
> Hi,
>
> How to use android tool chain to compile a simple HelloWorld.cpp
> program so that I can run that in the android emulator?
>
> Thank you.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to