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
Using OCaml in a kernel
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-12-06 (01:03)
From: Sachin Shah <zakaluka@g...>
Subject: Re: [Caml-list] Using OCaml in a kernel
Take a look at some of the projects at
Camouflage and Cigen are a good point to start.  They will primarily
show you how to get OCaml working with C/C++.  The rest is up to you.



On Mon, 6 Dec 2004 13:48:23 +1300, Jonathan Roewen
<jonathan.roewen@gmail.com> wrote:
> Hi All,
> I'm developing an operating system, and I want to write as much of it
> as possible in OCaml. I had hoped to use the ocamlopt compiler, and
> have it target i586-elf, like my gcc (3.4.1) cross-compiler. I'm using
> newlib with my cross-compiler, so I have a C library available.
> However, I'm lost at how to get OCaml into the mix. Anyone able to
> offer some suggestions of the sorts of things I could try?
> Currently I have a single .ml file that will hopefully start all the
> major tasks, and a couple of supporting C files, and I'm trying to
> jump into OCaml from my main function in C-land.
> Regards,
> Jonathan Roewen
> _______________________________________________
> 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