Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Executable size?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Sven Luther <sven.luther@w...>
Subject: Re: [Caml-list] Executable size?
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