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
C libs from Ocaml libs
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alain Frisch <alain@f...>
Subject: Re: [Caml-list] C libs from Ocaml libs
Matthieu Dubuget wrote:
> 2007/11/21, Alain Frisch <>:
>>> * how do I create dynamic libs, dlls for windows?
>> What do you want to put in your dynamic libs? If you want to create a
>> "stand-alone" dll with the OCaml runtime + arbitrary OCaml and C code,
>> the new behavior of "-output-obj -o XXX.{so,dll}" is/will be what you want.
> Waou! I did not noticed this!
> Thanks for this information Alain.
> Since when is it possible?

This is part of the set of changes that will come with the features 
previously found on the natdynlink branch (Dynlink in native code, 
simplified treatment of DLLs under Windows, unification of Makefiles 
between Unix and Windows,...). I guess this will be available in OCaml 
3.11 (to be expected not too soon); currently, you can find it on the 
main branch of OCaml's CVS.

-- Alain