Re: Install problem

From: skaller (
Date: Mon Nov 15 1999 - 14:17:07 MET

Date: Tue, 16 Nov 1999 00:17:07 +1100
From: skaller <>
To: Fabien FLEUTOT <>
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

This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:28 MET