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=3.2 required=5.0 tests=AWL,DNS_FROM_RFC_POST, SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 93EF2BBAF for ; Sat, 22 Nov 2008 16:01:55 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Al8BALetJ0lIDtyfimdsb2JhbACTHz4BAQEKCQwHDwW0bIs3AQMBA4J5ghQ X-IronPort-AV: E=Sophos;i="4.33,650,1220220000"; d="scan'208";a="20255775" Received: from fg-out-1718.google.com ([72.14.220.159]) by mail1-smtp-roc.national.inria.fr with ESMTP; 22 Nov 2008 16:01:55 +0100 Received: by fg-out-1718.google.com with SMTP id l27so1031629fgb.43 for ; Sat, 22 Nov 2008 07:01:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer:sender; bh=X25wr/CVnKfjNbJQg1d3PhPnmBlpFrF4gRWZKCbtswQ=; b=a3Yb1+dRV2e0wnyClAoa26V6P91IZ78Rw2DI2z4EWbw1qEW2zBBCsaEaB0Lz3QGkbV Qa7yTFWTuojWpTHoC/9j5hDWDPybC8nF9OG6djM2BA9weu2cYENIgkODE9Iv14XrBWm+ VjQcCW1Tp4318oNqvo3R0imrN1Is5vLGPz554= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer:sender; b=i9qZUkz38i1Wo05D1OmYOBRR6JqS47/5YAVai8UrfQeUBp05WJHSjYWrHNhgFVBKKY V1XwRawQ9Z9F6xFxr8EP7Llm0CH1TN8Z/8YU3mvxzmaPv40H9fKVbP6l+gnAgadsBNrb i9RiDkjjSZ00kLnXJyYH7mWEOlKcvaJF269YY= Received: by 10.86.72.15 with SMTP id u15mr1222877fga.5.1227366114631; Sat, 22 Nov 2008 07:01:54 -0800 (PST) Received: from ?192.168.1.34? (136-55.77-83.cust.bluewin.ch [83.77.55.136]) by mx.google.com with ESMTPS id 3sm2552462fge.3.2008.11.22.07.01.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 22 Nov 2008 07:01:54 -0800 (PST) Message-Id: <012E7FAE-0F62-4263-898E-0C640E760F77@erratique.ch> From: =?ISO-8859-1?Q?Daniel_B=FCnzli?= To: OCaml List In-Reply-To: <908917.4744.qm@web111516.mail.gq1.yahoo.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: [Caml-list] Native dynlink on 3.11: a request for packagers Date: Sat, 22 Nov 2008 16:00:50 +0100 References: <908917.4744.qm@web111516.mail.gq1.yahoo.com> X-Mailer: Apple Mail (2.929.2) Sender: =?UTF-8?B?RGFuaWVsIELDvG56bGk=?= X-Spam: no; 0.00; bunzli:01 buenzli:01 dynlink:01 packagers:01 dynlink:01 dynamically:01 caml-list:01 functions:01 modifying:02 defined:02 native:03 module:03 module:03 unit:03 unit:03 I think I'm missing something here. From the doc of Dynlink : > No facilities are provided to access value names defined by the > unit. Therefore, the unit must register itself its entry points with > the main program, e.g. by modifying tables of functions. Thus just generating a cmxs for a module won't allow you to use it dynamically. You'll need support from the module no ? Daniel