From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 27CEFBC48 for ; Tue, 5 Apr 2005 21:44:15 +0200 (CEST) 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 j35JiEab020217 for ; Tue, 5 Apr 2005 21:44:14 +0200 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 VAA10444 for ; Tue, 5 Apr 2005 21:44:14 +0200 (MET DST) Received: from mail-white.research.att.com (mail-red.research.att.com [192.20.225.110]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j35JiDnw020213 for ; Tue, 5 Apr 2005 21:44:13 +0200 Received: from [12.103.123.40] (vpn-24.research.att.com [135.207.240.24]) by bigmail.research.att.com (8.11.6+Sun/8.11.6) with ESMTP id j35JiC328446; Tue, 5 Apr 2005 15:44:12 -0400 (EDT) Subject: .cmxa files are not compilation units From: Mary Fernandez To: caml-list@inria.fr Cc: Jerome Simeon Content-Type: text/plain Organization: AT&T Labs - Research Message-Id: <1112730251.4017.206.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Tue, 05 Apr 2005 15:44:12 -0400 Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 4252EA8E.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 4252EA8D.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; cmxa:01 compilation:01 stand-alone:01 cmxa:01 usr:01 lib:01 ocaml:01 compilation:01 asymmetric:01 nums:01 cma:01 cma:01 thread:02 archives:02 unit:02 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: Greetings, We are trying to create a stand-alone .cmxa library of our system, which in turn, depends on other .cmxa libraries. When we link our .cmxa library, we get link errors of the form: /usr/local/lib/ocaml/nums.cmxa is not a compilation unit description. This is pretty important to us because many users just want to download the .cmxa file without having to install a lot of auxilliary libraries. Can you explain this limitation? I looked through the mailing list archives briefly, so if you can point me to a relevant thread, that would be helpful. Also, this limitation is asymmetric as .cma files can be relinked into new .cma files. Thanks, Mary -- Mary Fernandez AT&T Labs - Research