Version française
Home     About     Download     Resources     Contact us    
Browse thread
.cmxa files are not compilation units
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Mary Fernandez <mff@r...>
Subject: .cmxa files are not compilation units
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 <mff@research.att.com>
AT&T Labs - Research