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] How to use CDK List2 etc.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-10-03 (07:43)
From: Fabrice Le Fessant <fabrice.le_fessant@i...>
Subject: Re: [Caml-list] How to use CDK List2 etc.

I don't know exactly how you installed the CDK, but in my own install,
the ocaml directory (/usr/local/lib/cdk-<version>/lib/ocaml-<version>)
contains an extlib.cma library. If you use the program cdk_config, you
can compile your programs like this:

ocamlc -o a.out `cdk_config extlib` mysources.cmo


ocamlopt -o a.out `cdk_config -opt extlib` mysources.cmx

If you don't have any extlib.cma (chech also with "locate extlib.cma"),
you should check if there was no error during the CDK compilation or

- Fabrice

Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr