From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA13978; Thu, 20 May 2004 19:38:39 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA13539 for ; Thu, 20 May 2004 19:38:39 +0200 (MET DST) Received: from ptb-relay03.plus.net (ptb-relay03.plus.net [212.159.14.214]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i4KHccEV009570 for ; Thu, 20 May 2004 19:38:38 +0200 Received: from [80.229.56.224] (helo=chetara) by ptb-relay03.plus.net with esmtp (Exim) id 1BQrV7-000Dz2-ST for caml-list@inria.fr; Thu, 20 May 2004 17:38:37 +0000 From: Jon Harrop Organization: University of Cambridge To: caml-list@inria.fr Subject: Re: [Caml-list] Large projects in OCaml Date: Thu, 20 May 2004 18:37:25 +0100 User-Agent: KMail/1.5.4 References: <20040519172442.30413.qmail@web14522.mail.yahoo.com> <200405192104.29698.jdh30@cam.ac.uk> <142FF679-AA7B-11D8-A7CF-000A95A1E69A@csun.edu> In-Reply-To: <142FF679-AA7B-11D8-A7CF-000A95A1E69A@csun.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200405201837.25278.jdh30@cam.ac.uk> X-Miltered: at nez-perce with ID 40ACED1E.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 2004:99 libs:01 statically:01 linked:01 ocaml:01 ocaml:01 linking:02 necessarily:02 objects:02 objects:02 wrote:03 library:03 library:03 object:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thursday 20 May 2004 17:31, Eric Stokes wrote: > ... > There is no issue at all distributing object code. You do not have to > distribute source. > The issue is, that the language does not support creating shared > libraries written in Ocaml > (though it can link to C shared libs), so all the object code you > distribute will be statically > linked. If you are planning to sell a library written in Ocaml, it will > necessarily be a static > library. For application code, static linking is probably preferred in > some cases, and > acceptable in most. But if any other objects which my objects depend upon get changed then my object code will stop working. Cheers, Jon. ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners