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
[Caml-list] ocamlopt cross-compiler
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-05-05 (14:34)
From: John Goerzen <jgoerzen@c...>
Subject: [Caml-list] ocamlopt cross-compiler

I am working with StrongARM-based Linux PDAs such as the Sharp Zaurus
and the iPAQ (when re-flashed to run Linux).  One thing that would be
very nice is an ocamlopt that can be a cross-compiler, generating
StrongARM code.

I notice that one person has posted such a beast online, but it seems
that there is not much support within the OCaml build system for this.
Can anyone confirm, or perhaps direct me to a "build your own ocamlopt
cross-compiler" tutorial somewhere?

(The post I found online appears to be an i386-hosted compiler that
generates ARM code; as my development platforms include alpha, powerpc,
i386, and amd64, I need to be able to build the compiler myself.)

What issues might I face should I choose to use libraries such as unix,
str, or third-party ones like pcre?  Will I be able to statically link
those into an arm executable somehow?


To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners