English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] -custom and C libraries
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-08-14 (14:29)
From: Ohad Rodeh <ORODEH@i...>
Subject: [Caml-list] -custom and C libraries
   I have just spent several hours trying to convince ocamlc (and ocamlopt)
link together several cmo files and C libraries and objects. It turned out
I could only link them together if all the C files were compiled into
objects, and not
linked together into intermediate libraries.

For example, I could not do :
    ocamlc -custom -o test_prog   libX.a libY.a intf.o X.cmo Y.cmo

But if I opened libX.a and libY.a into their component object files, things

Has anybody had the same problems, or am I overlooking the obvious?



Ohad Rodeh
tel: +972-3-6401641
IBM Haifa, storage research

To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners