From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 22860BB81 for ; Tue, 9 Nov 2004 19:35:41 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id iA9IZem9024499 for ; Tue, 9 Nov 2004 19:35:40 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA24190 for ; Tue, 9 Nov 2004 19:35:40 +0100 (MET) Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id iA9IZe3M023348 for ; Tue, 9 Nov 2004 19:35:40 +0100 Received: from warp (chateaudeau-4-82-225-176-25.fbx.proxad.net [82.225.176.25]) by postfix3-2.free.fr (Postfix) with SMTP id E32C4C0C5 for ; Tue, 9 Nov 2004 19:35:39 +0100 (CET) Message-ID: <00bc01c4c68b$4f1f6d70$19b0e152@warp> From: "Nicolas Cannasse" To: Subject: Native Module Linking Date: Tue, 9 Nov 2004 19:38:29 +0100 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 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Miltered: at concorde with ID 41910DFC.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 41910DFC.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; cannasse:01 warplayer:01 ocamlopt:01 mylib:01 cmxa:01 -linkall:01 bug:01 cannasse:01 ....:98 activating:98 native:02 nicolas:02 nicolas:02 partially:02 linking:03 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.0 X-Spam-Level: Hi, I have a project that is structured like this : - a library with one Entry module and several Plugins - an application using the library. In the application I'm doing the following : open Entry; open Plugin1; open Plugin2; .... (* use "Entry" *) Plugins are using Entry, and application is only activating plugins with "open" (in order to ensure they're linked). On windows everything works well but looks like on Linux some configurations are not linking the plugins (at least in opt mod : ocamlopt myLib.cmxa myApp.ml ). And I can't use the -linkall because I'm using other libraries that I want to partially link . Is this a bug, a feature, or a misunderstanding ? Regards, Nicolas Cannasse