Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[ANN] ocamlscript 1.1
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-10-04 (07:57)
From: David MENTRE <david.mentre@g...>
Subject: Re: [Caml-list] [ANN] ocamlscript 1.1
Hello Martin,

2005/10/3, Martin Jambon <>:
> - how do you specify more than one library (on my OS everything that
> follows #!/path/to/ocamlscript is treated as only one argument)?

Yes, I have the same behavior on my system (Linux). But multiple
arguments are correctly interpreted (I just checked it).

The multiple arguments are seen as a single argument by ocamlscript
(i.e. the behaviour you observed) but, as the compilation command is
done through a Unix.system call, the underlying shell re-interprets
arguments through space separations.

> - could packages be loaded with ocamlfind so that we don't have to worry
> about dependencies, -I flags and camlp4 libraries?

Well, this software is quite short (about 100 lines) and is more a
proof of concept than expected to solve all cases. In other words, I
don't plan to invest much time in it. But it is free software and
patches are welcome. ;-)