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 LAA07229; Thu, 18 Jul 2002 11:52:08 +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 LAA07225 for ; Thu, 18 Jul 2002 11:52:07 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g6I9q5T24291; Thu, 18 Jul 2002 11:52:05 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA07219; Thu, 18 Jul 2002 11:52:05 +0200 (MET DST) Date: Thu, 18 Jul 2002 11:52:05 +0200 From: Xavier Leroy To: Friedman Roy Cc: caml-list@inria.fr Subject: Re: [Caml-list] Problem building -custom on Windows 2000 Message-ID: <20020718115205.A6341@pauillac.inria.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from roy@cs.technion.ac.il on Thu, Jul 18, 2002 at 09:45:06AM +0300 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. This problem is known as "the killer space in file names" :-) OCaml 3.04 calls the C linker without quoting properly the file arguments, including the OCaml standard library directory. You can view the resulting mess by running ocamlc -verbose -custom ... for the linking phase. This bug should be fixed for good in 3.05. In the meantime, using the DOS name for OCAMLLIB, as suggested on this list, should do the job. - Xavier Leroy ------------------- 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