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 KAA01473; Thu, 13 Nov 2003 10:10:27 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA01250 for ; Thu, 13 Nov 2003 10:10:26 +0100 (MET) Received: from mwinf0404.wanadoo.fr (smtp4.wanadoo.fr [193.252.22.27]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id hAD9AP101534 for ; Thu, 13 Nov 2003 10:10:25 +0100 (MET) Received: from iliana (AStrasbourg-206-1-6-42.w80-14.abo.wanadoo.fr [80.14.69.42]) by mwinf0404.wanadoo.fr (SMTP Server) with ESMTP id 2B4D538000DF; Thu, 13 Nov 2003 10:10:25 +0100 (CET) Received: from luther by iliana with local (Exim 3.36 #1 (Debian)) id 1AKDUg-0001ME-00; Thu, 13 Nov 2003 10:10:26 +0100 Date: Thu, 13 Nov 2003 10:10:23 +0100 To: John J Lee Cc: caml-list@inria.fr Subject: Re: [Caml-list] Executable size? Message-ID: <20031113091023.GA5181@iliana> References: <20031112173335.GA32347@redhat.com> <20031112183157.GA16395@iliana> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i From: Sven Luther X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 sven:01 luther:01 sven:01 luther:01 dynamically:01 usr:01 ledit:01 usr:01 ledit:01 ocamlrun:01 -rwxr-xr-x:01 wire:99 hugely:01 bin:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, Nov 12, 2003 at 06:50:52PM +0000, John J Lee wrote: > On Wed, 12 Nov 2003, Sven Luther wrote: > > > On Wed, Nov 12, 2003 at 10:06:52AM -0800, Dustin Sallings wrote: > [...] > > But then, you can link it dynamically : > > > > $ file /usr/bin/ledit > > /usr/bin/ledit: a /usr/bin/ocamlrun script text executable > > $ ls -l /usr/bin/ledit > > -rwxr-xr-x 1 root root 94857 2003-09-30 22:40 /usr/bin/ledit > > > > But then, you would only gain for packages using huge C bindings. > [...] > > This may be of interest to others, but personally, it doesn't matter much > to me how it's linked. The problem is minimising the total data to be > transferred over the wire, including any shared libraries. Well, this is because you ship only one ocaml program. But the user wanting to run many of those will hugely benefit from dynamic linking. And the distribution integrators (or whatever those are called) will benefit from it. Friendly, Sven Luther ------------------- 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