From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 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 0C943BC0A for ; Thu, 21 Jun 2007 10:35:32 +0200 (CEST) Received: from hedwig1.umh.ac.be (hedwig2.umh.ac.be [193.190.193.73]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l5L8ZVdY022952 for ; Thu, 21 Jun 2007 10:35:31 +0200 Received: from poincare.swapping.umh.ac.be ([10.102.100.12]) by hedwig1.umh.ac.be (8.13.6/8.13.6) with ESMTP id l5L8dhqc2912430; Thu, 21 Jun 2007 10:39:44 +0200 Received: from localhost ([127.0.0.1] ident=trch) by poincare.swapping.umh.ac.be with esmtp (Exim 4.67) (envelope-from ) id 1I1I8S-0001f2-Ry; Thu, 21 Jun 2007 10:35:24 +0200 Date: Thu, 21 Jun 2007 10:35:24 +0200 (CEST) Message-Id: <20070621.103524.102333468.Christophe.Troestler+ocaml@umh.ac.be> To: caml-list@inria.fr Subject: Re: [Caml-list] windows and C libs From: Christophe TROESTLER In-Reply-To: <90823c940706202343h4dad5c4cy71ce1e2b4d50710e@mail.gmail.com> References: <20070620.153730.186776178.Christophe.Troestler@umh.ac.be> <90823c940706202343h4dad5c4cy71ce1e2b4d50710e@mail.gmail.com> X-Face: #2fb%mPx>rRL@4ff~TVgZ"<[:,oL"`TUEGK/[8/qb58~C>jR(x4A+v/n)7BgpEtIph_neoLKJBq0JBY9:}8v|j Organization: University of Mons-Hainaut X-Mailer: Mew version 5.2.50 on Emacs 22.0.95 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.1 (www dot roaringpenguin dot com slash mimedefang) X-Miltered: at concorde with ID 467A3853.002 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; libs:01 christophe:01 troestler:01 christophe:01 troestler:01 ocaml:01 umh:01 umh:01 lib:01 libs:01 lib:01 ocaml:01 ocamllib:01 ocamllib:01 stublibs:01 On Thu, 21 Jun 2007, "Dmitry Bely" wrote: > > On 6/20/07, Christophe TROESTLER wrote: > > > WINDOWS USERS: Is there a consensus on windows on where the .lib and > > .dll should go? If not, how about to decide that here so efforts to > > port libs to windows can set it as the default path. > > Do you mean .lib/.dll files of some specific OCaml library? They > usually go to %OCAMLLIB% and %OCAMLLIB%\stublibs respectively. What's > wrong with it? No, I mean C library files -- e.g. where should the C-pcre libraries (libpcre.lib, dllpcre.dll) go? > > WIN32 OCAML: When I give a path -- say -cclib "C:\Documents and > > Settings\USER\Mes documents\lib\libx.lib" -- containing spaces (but > > quoted) to include into a library, it is not well quoted when on uses > > the library (to compile a program). I tried "\"...\"" to not avail. > > Is there a way around that or must it be considered like a bug? > > An obvious workaround is to use the short name: > C:\Docume~1\USER\Mesdoc~1\lib\libx.lib Yes but it is not convenient because it is not returned by, say, %OCAMLLIB%. Is there a command to transform a long name into a short one? What about vista? Thanks, ChriS