From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id DAA23434 for caml-redistribution; Thu, 8 Jul 1999 03:38:33 +0200 (MET DST) 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 CAA32635 for ; Fri, 2 Jul 1999 02:54:54 +0200 (MET DST) Received: from mail1.digital.com (mail1.digital.com [204.123.2.50]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id CAA28838; Fri, 2 Jul 1999 02:54:50 +0200 (MET DST) Received: from src-mail.pa.dec.com (src-mail.pa.dec.com [16.4.16.35]) by mail1.digital.com (8.9.2/8.9.2/WV2.0g) with ESMTP id RAA25440; Thu, 1 Jul 1999 17:54:46 -0700 (PDT) Received: by src-mail.pa.dec.com; id RAA30093; Thu, 1 Jul 1999 17:54:46 -0700 (PDT) Received: (from fessant@localhost) by virtualc5.pa.dec.com (8.9.3/8.9.3) id RAA24936; Thu, 1 Jul 1999 17:53:47 -0700 From: Fabrice Le Fessant Message-ID: <14204.3479.775093.594688@virtualc5.pa.dec.com> Date: Thu, 1 Jul 1999 17:53:43 -0700 (PDT) To: Pierre Weis Cc: mottl@miss.wu-wien.ac.at (Markus Mottl), caml-list@inria.fr Subject: Re: Sys.argv with interpreter and compiler References: <199907012235.AAA05846@miss.wu-wien.ac.at> <199907020039.CAA28037@pauillac.inria.fr> X-Mailer: VM 6.62 under Emacs 19.34.1 Reply-To: fessant@pa.dec.com MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1 Sender: weis > achieve: only binaries may be used as interpreters of "#!"-scripts, which > is not currently possible with the way the toplevel "ocaml" is designed - > it needs to be a byte code file. Are there already any convenient ways Maybe you can use "ocamlmktop -custom -o ocaml" to generate a binary version of ocaml ... - Fabrice