From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 9B57EBB81 for ; Wed, 29 Dec 2004 14:06:50 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id iBTD6okj019211 for ; Wed, 29 Dec 2004 14:06:50 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA15628 for ; Wed, 29 Dec 2004 14:06:49 +0100 (MET) Received: from cirrus.purplecloud.com (cirrus.purplecloud.com [217.158.94.220]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id iBTD6mR7019206 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 29 Dec 2004 14:06:49 +0100 Received: (qmail 94300 invoked from network); 29 Dec 2004 13:06:48 -0000 Received: from 81-86-133-45.dsl.pipex.com (HELO ?192.168.1.176?) (81.86.133.45) by smtp.purplecloud.net with AES256-SHA encrypted SMTP; 29 Dec 2004 13:06:48 -0000 Message-ID: <41D2ACF5.6020606@jollys.org> Date: Wed, 29 Dec 2004 13:11:17 +0000 From: Peter Jolly User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: caml-list@inria.fr Cc: shawjef3@msu.edu Subject: Re: [Caml-list] I'm having trouble compiling independent executables References: <000301c4ed48$d4cd5070$6600a8c0@gft> In-Reply-To: <000301c4ed48$d4cd5070$6600a8c0@gft> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 41D2ABEA.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 41D2ABE8.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 lib':01 iirc:01 lib:01 ocaml:01 binary:01 mingw:01 ocaml:01 ocamlc:01 -custom:01 gcc:01 mingw:01 gcc:01 ...:98 ...:98 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.0 X-Spam-Level: > LINK : fatal error LNK1181: cannot open input file 'advapi32.lib' > Error during linking > > I put this file on my PATH, but then I get the same error. I don't > know how to fix it. IIRC it needs to be in %LIB%, not %PATH%. > On to cygwin... I've tried recompiling and installing ocaml from > source, but that doesn't fix the problems. Which problems? And did you try simply installing the binary package available through Cygwin's setup.exe, before you moved on to attempting a manual build? It worked out of the box last time I tried it. > MinGW version of ocaml... > > ocamlc -custom rpn.ml does not have access to gcc, which is in cygwin > only, so it doesn't work. I've never used the MinGW version of OCaml, but at a guess, it might possibly be expecting to find the MinGW version of gcc rather than the Cygwin version.