Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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:  FAQ:
To unsubscribe, mail  Archives: