From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id BB4DDBC37 for ; Wed, 27 Jan 2010 17:19:29 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At8BAH72X0vRVdzeimdsb2JhbACTUodFPQEBAQoJDAcRBa1xCoE4hS+ILwEBAwWENASLDg X-IronPort-AV: E=Sophos;i="4.49,355,1262559600"; d="scan'208";a="54793905" Received: from mail-fx0-f222.google.com ([209.85.220.222]) by mail4-smtp-sop.national.inria.fr with ESMTP; 27 Jan 2010 17:19:29 +0100 Received: by fxm22 with SMTP id 22so6158776fxm.22 for ; Wed, 27 Jan 2010 08:19:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=0bSpQToU4j9gifbsRu7PF8r7HLXbhuF+9jdXd6bJrGc=; b=ixyUpeh3GfFWUC5NDuPKzVg1qYZKeNz+pWvFj1pqLACou3d9yRnkwfn/2den9AalFz zU8hJzscuHn0w6aGpWY0e1a6ErcsLXuG0oYeUcmjsl28SZNqe6/foOJpEPU3SGlJv9A+ fpeHc7TYfNzaCDLJOSftsFZoRZgYIQKUNejhI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=ZITpv+XTJrsxj4NTof1ZGAg0aMv8UqeBhcxwwG9d1lq+8LTGRe6OGunOEIHlOTJTAX CRsE4SP0DrMyA7TMMDtU1a1cF3VAupuKv/E7WZBl5MWijIHlYZ8mpZVhWYyFpOt/0drC mNPaOypuFazmUavSDa6ETQFe7I1SmDIzHHYEU= Received: by 10.87.61.4 with SMTP id o4mr5944198fgk.31.1264609169039; Wed, 27 Jan 2010 08:19:29 -0800 (PST) Received: from ?172.17.0.15? (papillon.metalscan.fr [212.73.210.234]) by mx.google.com with ESMTPS id 12sm16907663fgg.7.2010.01.27.08.19.27 (version=SSLv3 cipher=RC4-MD5); Wed, 27 Jan 2010 08:19:28 -0800 (PST) Message-ID: <4B60678F.6040202@gmail.com> Date: Wed, 27 Jan 2010 17:19:27 +0100 From: Matthieu Dubuget Reply-To: matthieu.dubuget@gmail.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8pre) Gecko/20100124 Shredder/3.0.2pre MIME-Version: 1.0 To: caml-list@inria.fr Cc: Rabih EL-CHAAR Subject: Re: [Caml-list] dynamic link library path under mingw [NC] References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; matthieu:01 dubuget:01 matthieu:01 dubuget:01 mingw:01 mingw:01 -dllpath:01 ocamlmklib:01 -verbose:01 -dllpath:01 caml-list:01 caml-list:01 native:03 suggestion:03 library:03 -------- Original Message -------- Subject: Re: [Caml-list] dynamic link library path under mingw [NC] From: Rabih EL-CHAAR To: matthieu.dubuget@gmail.com Date: 27/01/2010 15:36 > > Why you're not using -dllpath option in ocamlmklib? > I think this should solve your problem (didn't make the check). I did. With no more success. I even did it with -verbose, with and without -dllpath: the emitted commands are the same Thanks for your suggestion P.S. I have the same kind of problem with native code. Is there any way to store search path for dynamic libraries in PO/COFF programs? Salutations Matt