From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 8CDB7BB9A for ; Fri, 21 Oct 2005 04:15:57 +0200 (CEST) Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j9L2FtYJ001231 for ; Fri, 21 Oct 2005 04:15:56 +0200 Received: from localhost (suiren [130.54.16.25]) by kurims.kurims.kyoto-u.ac.jp (8.13.1/8.13.1) with ESMTP id j9L2Fo4Q004177; Fri, 21 Oct 2005 11:15:51 +0900 (JST) Date: Fri, 21 Oct 2005 11:16:48 +0900 (JST) Message-Id: <20051021.111648.126757916.garrigue@math.nagoya-u.ac.jp> To: thetza@sent.com Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] License clarification From: Jacques Garrigue In-Reply-To: <1129859175.26911.245665540@webmail.messagingengine.com> References: <1129859175.26911.245665540@webmail.messagingengine.com> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 43584F5B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 ocaml:01 compilers:01 bytecode:01 compilers:01 runtime:01 toplevel:01 binaries:01 executables:01 jacques:01 jacques:01 garrigue:03 garrigue:03 library:03 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=DNS_FROM_RFC_ABUSE autolearn=disabled version=3.0.3 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