Version française
Home     About     Download     Resources     Contact us    
Browse thread
Pre-compiled ocaml binary for windows
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alain Frisch <alain@f...>
Subject: Re: [Caml-list] Re: Pre-compiled ocaml binary for windows
On 12/09/2010 12:54 PM, Mauricio Fernandez wrote:
> This approach is not exactly convenient because the list of cmxs to be loaded
> can easily get very long...

I was thinking of replacing the call to "ocamlopt" used to build the 
main program (which requires external tools) with a call to "ocamlopt 
-shared" to build a single monolithic .cmxs file that contains all the 
modules for the program. So the generic loader would usually be called 
with a single argument (and it would probably be better to leave the 
other arguments so that they can be used by the program, as for "ocamlrun").

-- Alain