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
Install problem
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 1999-11-15 (17:14)
From: skaller <skaller@m...>
Subject: Re: Install problem
Fabien FLEUTOT wrote:
> I made an unofficial install of ocaml on my user account (no way to get
> it installed by root...) Is there a way to force ocamlc to put
> '#!/user/fleutotf/pub/ocaml/bin/ocamlrun' as a first line in the
> executables it generates instead of '#!/usr/local/bin/ocamlrun' ?

I'm no expert, but I'm told this is the wrong way to do it
and that the correct technique is:

#!/usr/bin/env ocamlc

since this finds the relevant version of ocamlc from your PATH.

John Skaller,
1/10 Toxteth Rd Glebe NSW 2037 Australia