Re: Install problem

From: skaller (skaller@maxtal.com.au)
Date: Mon Nov 15 1999 - 14:17:07 MET


Date: Tue, 16 Nov 1999 00:17:07 +1100
From: skaller <skaller@maxtal.com.au>
To: Fabien FLEUTOT <fleutotf@esiee.fr>
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, mailto:skaller@maxtal.com.au
1/10 Toxteth Rd Glebe NSW 2037 Australia
homepage: http://www.maxtal.com.au/~skaller
downloads: http://www.triode.net.au/~skaller



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