Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Sachin Shah <zakaluka@g...>
Subject: Re: [Caml-list] Using OCaml in a kernel
Take a look at some of the projects at
http://caml.inria.fr/humps/caml_Interfaces_with_other_languages.html. 
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.

Regards,

Sachin.

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
>