English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
OCaml on Android
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-09-07 (10:35)
From: Keigo IMAI <imai@n...>
Subject: OCaml on Android
Hi list,

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

The porting step is available at

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- 

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

  - Keigo IMAI