Version française
Home     About     Download     Resources     Contact us    
Browse thread
cross-compliation from x86 linux to windows?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] cross-compliation from x86 linux to windows?
On Fri, Apr 18, 2008 at 05:52:35PM +0400, Vladimir Shabanov wrote:
> 2008/4/15, Joel Reymont <joelr1@gmail.com>:
> > Is it possible to reuse on Windows the output
> >  from ocamlc/ocamlopt -output-obj?
> 
> I think you can reuse pure bytecode (.cmo .cma w/o C objects) on
> different platforms using ocamlc for static linking or Dynlink for
> dynamic one.

It used to be the case that this wouldn't work if the modules used the
Unix module (because the implementation of that module is different on
Un*x and non-Un*x-like operating systems).  Haven't tried recently
though.

Rich.

-- 
Richard Jones
Red Hat