Version française
Home     About     Download     Resources     Contact us    
Browse thread
Arg parsing
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Tiago Dionizio <tngd81@g...>
Subject: Re: [Caml-list] Problem with location.
You can try using:

#!/usr/bin/env ocamlrun

although i don't know how reliable this is, it should work.

Tiago


On Tue, 26 Oct 2004 23:05:23 +0200, sejourne_kevin
<sejourne_kevin@yahoo.fr> wrote:
> Hi list.
> 
> On my linux(debian) ocamlrun is in /usr/bin. I remember that ocaml are
> is this directory on all other linux I try. This is a probleme for
> script mode :
> http://caml.inria.fr/ocaml/htmlman/manual023.html
> " #!/usr/local/bin/ocamlrun /usr/local/bin/ocaml "
> 
> because with this force me to use an unstandard way.
> I can't make a program that use the script mode and
> give it to people. The trick use in cduce for configuring isn't
> nice(http://www.cduce.org) because it take two files...
> How can I solve my problem ??
> 
> regards,
> 
> Kévin.
> 
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>