* OCaml on Maemo @ 2010-02-24 16:14 David Allsopp 2010-02-24 16:35 ` [Caml-list] " Sebastien Mondet ` (2 more replies) 0 siblings, 3 replies; 8+ messages in thread From: David Allsopp @ 2010-02-24 16:14 UTC (permalink / raw) To: OCaml List My shiny new Nokia N900 has finally arrived so, of course, having got bash, vim and texlive successfully installed I naturally need a compiler! Before I dig into trying to compile OCaml on Maemo 5, can I ask if anyone else out there has already tried (and hopefully succeeded)? David ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Caml-list] OCaml on Maemo 2010-02-24 16:14 OCaml on Maemo David Allsopp @ 2010-02-24 16:35 ` Sebastien Mondet 2010-02-24 21:05 ` Sebastien Mondet 2010-02-25 8:45 ` Sebastien Ferre 2010-02-24 16:54 ` Gerd Stolpmann 2010-02-24 18:45 ` Martin DeMello 2 siblings, 2 replies; 8+ messages in thread From: Sebastien Mondet @ 2010-02-24 16:35 UTC (permalink / raw) Cc: OCaml List [-- Attachment #1: Type: text/plain, Size: 955 bytes --] Hi, On my N810, thanks to the "easy debian" technique: http://wiki.maemo.org/Easy_Debian I got access to all the ocaml packages which are available on debian-ARM. Everything I tried worked perfectly (but I only tried "text mode" apps). Sebastien Mondet On Wed, Feb 24, 2010 at 5:14 PM, David Allsopp <dra-news@metastack.com>wrote: > My shiny new Nokia N900 has finally arrived so, of course, having got bash, > vim and texlive successfully installed I naturally need a compiler! > > Before I dig into trying to compile OCaml on Maemo 5, can I ask if anyone > else out there has already tried (and hopefully succeeded)? > > > David > > > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > [-- Attachment #2: Type: text/html, Size: 1779 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Caml-list] OCaml on Maemo 2010-02-24 16:35 ` [Caml-list] " Sebastien Mondet @ 2010-02-24 21:05 ` Sebastien Mondet 2010-02-25 8:45 ` Sebastien Ferre 1 sibling, 0 replies; 8+ messages in thread From: Sebastien Mondet @ 2010-02-24 21:05 UTC (permalink / raw) To: caml-list [-- Attachment #1: Type: text/plain, Size: 978 bytes --] Hi, On my N810, thanks to the "easy debian" technique: http://wiki.maemo.org/Easy_Debian I got access to all the ocaml packages which are available on debian-ARM. Everything I tried worked perfectly (but I only tried to compile and use "text mode" ocaml apps). Sebastien Mondet On Wed, Feb 24, 2010 at 5:14 PM, David Allsopp <dra-news@metastack.com>wrote: > My shiny new Nokia N900 has finally arrived so, of course, having got bash, > vim and texlive successfully installed I naturally need a compiler! > > Before I dig into trying to compile OCaml on Maemo 5, can I ask if anyone > else out there has already tried (and hopefully succeeded)? > > > David > > > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > [-- Attachment #2: Type: text/html, Size: 1796 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Caml-list] OCaml on Maemo 2010-02-24 16:35 ` [Caml-list] " Sebastien Mondet 2010-02-24 21:05 ` Sebastien Mondet @ 2010-02-25 8:45 ` Sebastien Ferre 2010-02-25 9:40 ` Sebastien Mondet 1 sibling, 1 reply; 8+ messages in thread From: Sebastien Ferre @ 2010-02-25 8:45 UTC (permalink / raw) To: OCaml List; +Cc: Sebastien Mondet Hi, I have an application that I would love to run on my N810. I know this is possible because it has been done for Unison, including its GTK interface. http://talk.maemo.org/showthread.php?t=27426 However, I haven't a clue on how this has been done. Sebastien Mondet wrote: > > Hi, > > On my N810, thanks to the "easy debian" technique: > http://wiki.maemo.org/Easy_Debian It says 2.5Gb are needed, but this includes OpenOffice and Firefox, which I don't need. Can you detail the "easy debian" technique for installing ocaml in a lighter way ? > I got access to all the ocaml packages which are available on > debian-ARM. Everything I tried worked perfectly (but I only tried "text > mode" apps). GTK is part of mameo, so with luck, lablGTK should also work. Have you tried ? Sébastien Ferré > On Wed, Feb 24, 2010 at 5:14 PM, David Allsopp <dra-news@metastack.com > <mailto:dra-news@metastack.com>> wrote: > > My shiny new Nokia N900 has finally arrived so, of course, having > got bash, > vim and texlive successfully installed I naturally need a compiler! > > Before I dig into trying to compile OCaml on Maemo 5, can I ask if > anyone > else out there has already tried (and hopefully succeeded)? > > > David > > > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Caml-list] OCaml on Maemo 2010-02-25 8:45 ` Sebastien Ferre @ 2010-02-25 9:40 ` Sebastien Mondet 0 siblings, 0 replies; 8+ messages in thread From: Sebastien Mondet @ 2010-02-25 9:40 UTC (permalink / raw) To: Sebastien Ferre, caml-list [-- Attachment #1: Type: text/plain, Size: 3006 bytes --] On Thu, Feb 25, 2010 at 9:45 AM, Sebastien Ferre <Sebastien.Ferre@irisa.fr>wrote: > Hi, > > I have an application that I would love to run > on my N810. I know this is possible because it > has been done for Unison, including its GTK interface. > > http://talk.maemo.org/showthread.php?t=27426 > > However, I haven't a clue on how this has been done. > > > Sebastien Mondet wrote: > >> >> Hi, >> >> On my N810, thanks to the "easy debian" technique: >> http://wiki.maemo.org/Easy_Debian >> > > It says 2.5Gb are needed, but this includes OpenOffice > and Firefox, which I don't need. Can you detail the > "easy debian" technique for installing ocaml in a lighter > way ? > > It seems that at the time I tried (last summer), easy-debian was smaller and fitted in the internal memory card (my debian-squeeze.img.ext2 file weights 1.2 GB). What I did is: - followed their installation instructions - just for fun, tried once in my life to lunch open-office on a PDA :) - played with localepurge (apt-get install localepurge) and many apt-get remove and apt-get clean, to make space to install ocaml & co But you can provide your own debian tree or disk-image to the easy-debian scripts (I did not try but they say so). > > I got access to all the ocaml packages which are available on debian-ARM. >> Everything I tried worked perfectly (but I only tried "text mode" apps). >> > > GTK is part of mameo, so with luck, lablGTK should also > work. Have you tried ? > > no I even removed all X11 packages. >From debian I used: omake, extlib, pcre, and sexplib And also camlmix and bracetax from sources. (http://martin.jambon.free.fr/camlmix/ ; http://bracetax.berlios.de/ ) Sébastien Ferré > > > On Wed, Feb 24, 2010 at 5:14 PM, David Allsopp <dra-news@metastack.com<mailto: >> dra-news@metastack.com>> wrote: >> >> My shiny new Nokia N900 has finally arrived so, of course, having >> got bash, >> vim and texlive successfully installed I naturally need a compiler! >> >> Before I dig into trying to compile OCaml on Maemo 5, can I ask if >> anyone >> else out there has already tried (and hopefully succeeded)? >> >> >> David >> >> >> >> _______________________________________________ >> Caml-list mailing list. Subscription management: >> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list >> Archives: http://caml.inria.fr >> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners >> Bug reports: http://caml.inria.fr/bin/caml-bugs >> >> >> >> ------------------------------------------------------------------------ >> >> >> _______________________________________________ >> Caml-list mailing list. Subscription management: >> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list >> Archives: http://caml.inria.fr >> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners >> Bug reports: http://caml.inria.fr/bin/caml-bugs >> > [-- Attachment #2: Type: text/html, Size: 5205 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Caml-list] OCaml on Maemo 2010-02-24 16:14 OCaml on Maemo David Allsopp 2010-02-24 16:35 ` [Caml-list] " Sebastien Mondet @ 2010-02-24 16:54 ` Gerd Stolpmann 2010-02-24 18:45 ` Martin DeMello 2 siblings, 0 replies; 8+ messages in thread From: Gerd Stolpmann @ 2010-02-24 16:54 UTC (permalink / raw) To: David Allsopp; +Cc: OCaml List Am Mittwoch, den 24.02.2010, 16:14 +0000 schrieb David Allsopp: > My shiny new Nokia N900 has finally arrived so, of course, having got bash, > vim and texlive successfully installed I naturally need a compiler! > > Before I dig into trying to compile OCaml on Maemo 5, can I ask if anyone > else out there has already tried (and hopefully succeeded)? Yes, I've tried similar years ago on the N800 (Maemo 4, however). I ran into this problem at that time: http://caml.inria.fr/mantis/view.php?id=3746. The ARM code generator was changed since then (will be released in Ocaml 3.12). Haven't tried that yet, though. So far I remember the byte code compiler was no problem at all. Only the native-code compiler had these problems with FP instructions. Gerd > > David > > > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > -- ------------------------------------------------------------ Gerd Stolpmann, Bad Nauheimer Str.3, 64289 Darmstadt,Germany gerd@gerd-stolpmann.de http://www.gerd-stolpmann.de Phone: +49-6151-153855 Fax: +49-6151-997714 ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Caml-list] OCaml on Maemo 2010-02-24 16:14 OCaml on Maemo David Allsopp 2010-02-24 16:35 ` [Caml-list] " Sebastien Mondet 2010-02-24 16:54 ` Gerd Stolpmann @ 2010-02-24 18:45 ` Martin DeMello 2010-02-25 18:34 ` David Allsopp 2 siblings, 1 reply; 8+ messages in thread From: Martin DeMello @ 2010-02-24 18:45 UTC (permalink / raw) To: David Allsopp; +Cc: OCaml List On Wed, Feb 24, 2010 at 9:44 PM, David Allsopp <dra-news@metastack.com> wrote: > My shiny new Nokia N900 has finally arrived so, of course, having got bash, > vim and texlive successfully installed I naturally need a compiler! > > Before I dig into trying to compile OCaml on Maemo 5, can I ask if anyone > else out there has already tried (and hopefully succeeded)? No, I've mostly been playing with Vala since I got mine, but I'd love to hear how you manage with it. It's definitely on my to-do list. martin ^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [Caml-list] OCaml on Maemo 2010-02-24 18:45 ` Martin DeMello @ 2010-02-25 18:34 ` David Allsopp 0 siblings, 0 replies; 8+ messages in thread From: David Allsopp @ 2010-02-25 18:34 UTC (permalink / raw) To: 'OCaml List' Sebastian Mondet wrote: > On my N810, thanks to the "easy debian" technique: > http://wiki.maemo.org/Easy_Debian > > I got access to all the ocaml packages which are available on debian-ARM. Everything I tried > worked perfectly (but I only tried "text mode" apps). That seemed a little heavy for the first day of having it but I've bookmarked the link for the future! Gerd Stolpmann wrote: > Yes, I've tried similar years ago on the N800 (Maemo 4, however). I ran into this problem at > that time: http://caml.inria.fr/mantis/view.php?id=3746. The ARM code generator was changed > since then (will be released in Ocaml 3.12). Haven't tried that yet, though. > > So far I remember the byte code compiler was no problem at all. Only the native-code compiler had > these problems with FP instructions. I had the same experience with 3.11.2 - the error message from configure could be better, but that won't matter once it's fixed in 3.12.0 (as you say). Martin DeMello wrote: > On Wed, Feb 24, 2010 at 9:44 PM, David Allsopp <dra-news@metastack.com> wrote: > > My shiny new Nokia N900 has finally arrived so, of course, having got > > bash, vim and texlive successfully installed I naturally need a > > compiler! > > > > Before I dig into trying to compile OCaml on Maemo 5, can I ask if > > anyone else out there has already tried (and hopefully succeeded)? > > No, I've mostly been playing with Vala since I got mine, but I'd love to > hear how you manage with it. It's definitely on my to-do list. Enabling the SDK repository allowed me to install bash, make, gcc, libc6-dev, tcl8.5-dev, tk8.5-dev and libx11-dev. (aside, which probably demonstrates my ignorance more than a bug/problem in anything: I've never used aptitude before - I was amused that installing gcc doesn't automatically upgrade glibc to the dev version as you end up with a C compiler which can't link. Couldn't quite imagine a situation where that's handy but hey ho!) OCaml 3.12.0+dev17 compiles out of the box (using -prefix /opt/maemo) - ocamlbrowser works (i.e. labltk) and ocamlopt is fine. The reference run of a command line app of mine takes 5 mins 20 sec (impressive as it takes 31 seconds on my Intel P8600 laptop and used to take about 4:30 on the machine on which it was originally developed). David ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-02-25 18:34 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-02-24 16:14 OCaml on Maemo David Allsopp 2010-02-24 16:35 ` [Caml-list] " Sebastien Mondet 2010-02-24 21:05 ` Sebastien Mondet 2010-02-25 8:45 ` Sebastien Ferre 2010-02-25 9:40 ` Sebastien Mondet 2010-02-24 16:54 ` Gerd Stolpmann 2010-02-24 18:45 ` Martin DeMello 2010-02-25 18:34 ` David Allsopp
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox