On Oct 3, 5:18 am, Sean Hodges <seanhodge...@googlemail.com> wrote:
> As far as I'm aware, no. There is no native C compiler available for
> the stock Android platform. To get that level of access to your
> device, you'd need to root the phone and cross-compile a tool-chain
> for it.

Rooting the phone is not technically required, though it would make
life easier by opening up your options for where to install the
executable.

I'm not aware of a C compile that has been made to run on an android
phone (as opposed to produce executables for one, which is common).
I'm sure it is possible, however I would also suggest that it's
probably not a good idea - you have a computer with limited ram, the
available storage media is not really designed for intensive re-write
cycles, and you don't exactly have a great platform on which to do
serious file editing.  But none of these things mean you couldn't do a
little light duty development on the phone if you really, really want
to.

If you really want to do it, an option to compiling a compiler with
the android toolchain would be to see if you could make one built to
run on arm-linux work by moving over enough of the arm-linux shared
libraries, as this may be simpler than trying to compile against
android's non-linux libraries.  Look up the people who have been
running Debian-arm on (rooted) phones.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to