[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Building Chicken Scheme for Android

From: Kristian Lein-Mathisen
Subject: Re: [Chicken-users] Building Chicken Scheme for Android
Date: Tue, 2 Oct 2012 13:01:15 +0200

Hi Alan,

That's interesting. I'm not sure I understand though, how useful having an on-device compiler environment would be. 

Whenever you distribute your apps, binaries are all bundled in, so you don't need it for your end-users. And during development, you're in front of your computer which cross-compiles significantly faster than your phone.

This is, of course, if you're actually planning on writing an app. If you wanna just goof around on your command-line and try different system calls or talk to your phone kernel, maybe you're right.

If you just compile a C file an run it on your phone, you can check out how the csi binary is built. The building section describes how you can place this on your phone and run (I don't recall if this actually requires root access). This is with the ndk still.

TinyCC for ARM sounds like fun, but for compatibility, I'd stick with the official NDK!


On Mon, Oct 1, 2012 at 4:15 PM, Alan Post <address@hidden> wrote:
Off topic, but I've played with several mobile devices and none of
them have ever really 'stuck.'  I wind up back on my laptop happier
than I was when I wandered away.

After enough of these experiences, I came to realize that not having
a C compiler+native development environment was the common
denominator in my negative experiences.

Now I've been seeing more and more android stuff, and wondering
whether one of these devices is going to fall in my lap, so I ask:
can you get a C compiler and native development environment on these

What does that look like compared to what you've got here?

Thank you,


On Mon, Oct 01, 2012 at 03:10:29PM +0200, Kristian Lein-Mathisen wrote:
>    Hi guys,
>    I just thought I'd point out I've started a build-system for getting
>    Chicken Scheme runtime running on Android. You can take a peek
>    here:**[1]
>    Note that it only builds the runtime system (you generally don't have a C
>    compiler on your Android device).
>    I did not plug into Chicken's existing build system because the Android
>    NDK build-system is tricky, and the general recommendation is to stick
>    with 'ndk-build' rather than patching up existing makefiles. Additionally,
>    it makes it easier to embedd the Chicken into existing Android projects.
>    K.
> References
>    Visible links
>    1.

> _______________________________________________
> Chicken-users mailing list
> address@hidden

.i ma'a lo bradi cu penmi gi'e du

reply via email to

[Prev in Thread] Current Thread [Next in Thread]