Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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
<> 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:
> Archives:
> Beginner's list:
> Bug reports: