caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Keigo IMAI <imai@nagoya-u.jp>
To: caml-list@yquem.inria.fr
Cc: Keigo Imai <keigo.imai@gmail.com>
Subject: OCaml on Android
Date: Mon, 7 Sep 2009 19:35:01 +0900	[thread overview]
Message-ID: <12A4FE30-2968-4EBA-9497-9DC0E719C982@nagoya-u.jp> (raw)

Hi list,

I built an O'Caml cross-compiler for Google Android!

The porting step is available at
http://sites.google.com/site/keigoattic/ocaml-on-android

The example shows that Unison is invoked from android's shell.
(Since Android app works on java VM, we cannot build Android application
diretly with O'Caml yet. But anyway, it works!)

The patch itself is not so big, and nothing special (removing  
reference to
unsupported functions, modify 'ar' to '$(AR)', and so on), so I  
encourage you
to extend it for your use, such as adapting it to O'Jacare or OCaml- 
Java.

Acknowledgements:
ARM-EABI with software floating-point support[1] saved much time.
Many thanks to Xavier!

  [1] http://caml.inria.fr/mantis/view.php?id=3746

Cheers,
  - Keigo IMAI



                 reply	other threads:[~2009-09-07 10:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12A4FE30-2968-4EBA-9497-9DC0E719C982@nagoya-u.jp \
    --to=imai@nagoya-u.jp \
    --cc=caml-list@yquem.inria.fr \
    --cc=keigo.imai@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).