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
License clarification
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jacques Garrigue <garrigue@m...>
Subject: Re: [Caml-list] License clarification
From: "Tato Thetza" <>

> I'm sorry to bother you all but I'd like some clarification on the Ocaml
> license. First, let me state that I do not plan to modify the Ocaml
> compilers, libraries, or any thing else which is included in the
> official Ocaml distribution. I wouldn't even know where to start :-D.
> That said, few question:
> 1) If I write a program or library in the ocaml language, are there any
> restrictions on the licensing/distribution of source code or
> bytecode/binaries produced by the ocaml compilers?
> 2) If I write a C extension to be linked with an ocaml program, are
> there any restrictions on its license/distribution?
> 3) May I link a closed source (or other restrictively licensed) C
> library to ocaml code?

No restrictions.
No restrictions.
Yes. (except if the license of the C library itself forbids it)

To be more precise, restrictions only appear if you modify the ocaml
runtime itself, or distribute executables including other parts of the
system (the ocaml toplevel for instance). Then you must read the
license to see what you are allowed to do.

Jacques Garrigue