chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Playing with build utilities for Android


From: Peter Bex
Subject: Re: [Chicken-users] Playing with build utilities for Android
Date: Fri, 3 Jan 2014 12:56:44 +0100
User-agent: Mutt/1.4.2.3i

On Fri, Jan 03, 2014 at 12:50:41PM +0100, Kristian Lein-Mathisen wrote:
> > > The fine work <https://github.com/chicken-mobile/android-chicken> by
> > Bevuta
> > > allows us to build a cross-chicken which can cross-compile eggs and the
> > > Chicken runtime.
> >
> > But it's not a true cross-compiler, is it?  As I understood it, the
> > Android Makefile from Bevuta just cross-compiles CHICKEN itself,
> > completely, rather than providing a working csc on the host platform
> > which generates executables for the target platform.
> 
> If I understand your definition of true cross-compiler, then it is exactly
> what Bevuta gaves us: An android-csc and android-chicken-install which will
> compile scheme files and eggs for both the host (like x86) and the target
> (like arm).

That sounds pretty good.  Did you try this with the Makefile I got from
Felix and which I sent to chicken-hackers?  I just got a "csc" when
doing that which was compiled only for the target platform, but perhaps
I performed the wrong steps to build it.

> So getting eggs into your app is pretty easy, provided that
> your egg doesn't have native dependencies or something else that
> android-linux-armeabi doesn't like.

That's really cool!

> > Have you considered simply filing a bugreport for the Android NDK?
> 
> I did not think of that! I will post on their groups and see why it's doing
> that.

Keep me up to date, I'd be interested to hear how this pans out.

Cheers,
Peter
-- 
http://www.more-magic.net



reply via email to

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