Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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

or

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
installation.

- 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