From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 608CFBDE7 for ; Fri, 2 Sep 2005 19:34:28 +0200 (CEST) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j82HYQkv011628 for ; Fri, 2 Sep 2005 19:34:27 +0200 Received: from rosella (ppp32-47.lns1.syd2.internode.on.net [59.167.32.47] (may be forged)) by smtp1.adl2.internode.on.net (8.12.9/8.12.6) with ESMTP id j82HYK3V063662; Sat, 3 Sep 2005 03:04:21 +0930 (CST) (envelope-from skaller@users.sourceforge.net) Subject: Re: [Caml-list] Request: Windows installers From: skaller To: "Christopher A. Watford" Cc: caml-list@yquem.inria.fr In-Reply-To: <8008871f0509020917509eadda@mail.gmail.com> References: <1125525838.7192.23.camel@localhost.localdomain> <8008871f05083117267e99b44a@mail.gmail.com> <1125579459.7192.7.camel@localhost.localdomain> <8008871f0509011123621c1d7a@mail.gmail.com> <1125640801.7223.18.camel@localhost.localdomain> <8008871f0509020917509eadda@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-s4N5z+pF4mWd21N6n9/2" Date: Sat, 03 Sep 2005 03:34:20 +1000 Message-Id: <1125682460.7192.26.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 X-Miltered: at concorde with ID 43188D22.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 installers:01 ocamllib:01 ocamllib:01 'ocamlc:01 ocamlc:01 ocamlc:01 ....:98 ...:98 ....:98 ...:98 wrote:01 sourceforge:01 sourceforge:01 slightly:02 X-Attachments: type="application/pgp-signature" name="signature.asc" X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 --=-s4N5z+pF4mWd21N6n9/2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2005-09-02 at 12:17 -0400, Christopher A. Watford wrote: > > I haven't been able to get it to work with OCAMLLIB=3D"" either, > > despite claims in the documentation that this is only needed > > under Win98 etc, it seems to be needed on XP as well, and > > it has to be correct. This is slightly nasty for my build > > scripts .. I have to calculate the correct OCAMLLIB to use > > for a given 'ocamlc/ocamlopt' and run it like > >=20 > > env OCAMLLIB=3Dxxxx ocamlc .... > >=20 > > ... I'm not sure how to do that with Win32 shell CMD.EXE. >=20 > C:\> SET OCAMLLIB=3Dxxx > C:\> ocamlc .... Ah, but that won't work if you need to call the system() function, which requires a single line .. perhaps SET OCAMLLIB=3Dxxx && ocamlc ... will work with CMD.EXE? > You can use SetEnvironmentVariable() with windows before your system() > calls if you would like. I didn't mention .. the scripts are Python.. :) I can use os.putenv() .. but that affects the current process too. I can also pass the environment if I use execle() but that is a superior pain .. maybe i will have to write an env.exe command for windows .. ;( --=20 John Skaller --=-s4N5z+pF4mWd21N6n9/2 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBDGI0csRp8/9aGVGsRAo1sAJ0UYcTFz13U10IceyLk8DThi+W0ggCfTaUF gRy+2zFsaYaQM+LFE46LaEs= =BHOi -----END PGP SIGNATURE----- --=-s4N5z+pF4mWd21N6n9/2--