On Thu, Jul 14, 2011 at 7:02 AM, Earlence Fernandesyes? and? that's normal.
> We are security researchers at Vrije Universiteit Amsterdam. We have a scenario where we need to be able to compile a C source on the Android device itself. Hence, I came upon the R project's Android port:
> I could not find who created the "android gcc", and I posted on the R porting list. They directed me here.
> Good news is that I've tried the gcc on the device and it works like a charm.
> question is, the size is really large.
welcome to embedded application development. have you seen the size
> We have simple C files with no threading and the like.
of the android development environment itself? :)
you may be able to use uclibc instead of libc6.
> Just bionic + linux system headers + lib math. Nothing else.
is it possible to either use an nfs mount, or to have the compiler on
> I was wondering whether I could strip the toolchain down to a bare minimum?
> Or what were your steps while building it in the first place, so that I can exclude things not needed up front?
an external usb or other external media? i.e. do you *absolutely
have* to have gcc installed on the actual device.