From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 19F14BBB7 for ; Thu, 27 Jul 2006 12:21:32 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k6RALVL7016973 for ; Thu, 27 Jul 2006 12:21:31 +0200 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 MAA09795 for ; Thu, 27 Jul 2006 12:21:30 +0200 (MET DST) Received: from elch.in-berlin.de (elch.in-berlin.de [192.109.42.5]) by nez-perce.inria.fr (8.13.6/8.13.6) with ESMTP id k6RAHJKw022532 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 27 Jul 2006 12:17:20 +0200 Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by elch.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id k6RAHATc020667 for ; Thu, 27 Jul 2006 12:17:10 +0200 X-Envelope-From: oliver@first.in-berlin.de X-Envelope-To: Received: from first.in-berlin.de (e178004208.adsl.alicedsl.de [85.178.4.208]) (authenticated bits=0) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id k6RAG597014029 for ; Thu, 27 Jul 2006 12:16:05 +0200 Received: by first.in-berlin.de (Postfix, from userid 501) id 1D60E2EED23; Thu, 27 Jul 2006 12:16:10 +0200 (CEST) Date: Thu, 27 Jul 2006 12:16:10 +0200 From: Oliver Bandel To: caml-list@inria.fr Subject: Re: [Caml-list] Cross-compiling Caml programs Message-ID: <20060727101610.GD515@first.in-berlin.de> References: <20060727095621.GA8961@Galois> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060727095621.GA8961@Galois> User-Agent: Mutt/1.5.6i X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 X-Miltered: at concorde with ID 44C893AB.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 44C892AF.005 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; bandel:01 in-berlin:01 cygwin:01 byte-code:01 compilation:01 cygwin:01 ocamlrun:01 bytecode:01 unix-module:01 ocaml:01 2006:98 wrote:01 caml-list:01 oliver:01 oliver:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 On Thu, Jul 27, 2006 at 11:56:21AM +0200, Sbastien Hinderer wrote: > Dear all, > > Is it possible, under Linux, to compile a Caml program so that it will > run correctly on a Windows + cygwin system (w:ere Caml is installed) ? > > Perhaps one should use byte-code compilation for that purpose, but is > it enough ? > Does windows + cygwin support the #!/path/ocamlrun trick ? > [...] As far as I know Sourcecode and Bytecode is compatible, but not all modules are supported on the stand-alone windows-versions, for example Unix-module is not 100% supported. Loook here, at the end of the page: http://caml.inria.fr/ocaml/portability.en.html Ciao, Oliver