From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA06473; Thu, 18 Jul 2002 11:27:58 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA06469 for ; Thu, 18 Jul 2002 11:27:57 +0200 (MET DST) Received: from mel-rto4.wanadoo.fr (smtp-out-4.wanadoo.fr [193.252.19.23]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g6I9RuT23321 for ; Thu, 18 Jul 2002 11:27:56 +0200 (MET DST) Received: from mel-rta10.wanadoo.fr (193.252.19.193) by mel-rto4.wanadoo.fr (6.5.007) id 3D18589F00C92F0F; Thu, 18 Jul 2002 11:27:07 +0200 Received: from warp (217.128.142.232) by mel-rta10.wanadoo.fr (6.5.007) id 3D2A7916004D1FE9; Thu, 18 Jul 2002 11:27:07 +0200 Message-ID: <006c01c22e3d$32ba5430$0700a8c0@warp> From: "Nicolas Cannasse" To: "Jacques Garrigue" , "OCaml" References: <20020718164131R.garrigue@kurims.kyoto-u.ac.jp> Subject: Re: [Caml-list] Problem building -custom on Windows 2000 Date: Thu, 18 Jul 2002 11:26:29 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > > Has anyone encountered the following problem: > > My development environment is Windows 2000, Ocaml 3.04, and Dev Studio > > .NET (for the necessary C compiler, linker, etc) > > I am trying to build an ocaml application with the -custom switch. > > The problem is that if OCAMLLIB is defined as "C:\program files\..." > > the link stage fails claiming that it cannot find the relevant Ocaml > > files. > > However, if I define OCAMLLIB as C:\program files\... then Ocaml > > thinks that C:\program and files are two different arguments. > > Classical problem. Try defining OCAMLLIB as C:\program~1\... > Actually, it's c:\progra~1\.... (DOS 8 char format ) you can check the DOS name of your directory using "dir /X" You can also add the ocaml path to the LIB env-var which is the Visual Studio 6 lib path so perhaps it works on .NET. Nicolas Cannasse ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners