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 QAA32445; Tue, 23 Oct 2001 16:59:23 +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 QAA00938 for ; Tue, 23 Oct 2001 16:59:21 +0200 (MET DST) Received: from leia.mandrakesoft.com (office.mandrakesoft.com [195.68.114.34]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f9NExLT12693 for ; Tue, 23 Oct 2001 16:59:21 +0200 (MET DST) Received: by leia.mandrakesoft.com (Postfix, from userid 505) id A545B56E1; Tue, 23 Oct 2001 16:57:42 +0200 (CEST) To: "Rafael 'Dido' Sevilla" Cc: Caml List Subject: Re: [Caml-list] How standalone are ocaml binaries? References: <20011023170505.A18254@team.ph.inter.net> From: Pixel Date: 23 Oct 2001 16:57:42 +0200 In-Reply-To: <20011023170505.A18254@team.ph.inter.net> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk "Rafael 'Dido' Sevilla" writes: > How standalone are binaries created by ocaml? completly standalone with "ocamlopt" or "ocamlc -custom" (except for the standard C libraries, try ldd) > Will an ocamlrun binary > for system X be sufficient to make an ocaml runtime system for byte > compiled files? yes, everything is included in ocamlrun (the corollary is that if you want things like Unix or Str or any extension, you have to build a custom ocamlrun) The result is quite big binaries, and no possibility to share the common stuff between them: pixel@leia:~>ls -l /usr/bin/unison -rwxr-xr-x 1 root root 1934396 Oct 5 21:56 /usr/bin/unison For example, is there any way to build a shareable lablgtk? It should be possible to achieve this using lablgtkrun? Would it big possible with binary (ocamlopt)? -- Pixel ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr