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] Compiling with lacaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Markus Mottl <markus@o...>
Subject: Re: [Caml-list] Compiling with lacaml

On Tue, 03 Feb 2004, Jan Kybic wrote:
>         this is just my little observation in order to make the
> installation of the lacaml library easier. I have downloaded
> lacaml-2.2.0.tar.bz2 to my Linux machine, made './configure', 'make'
> and 'make install'. To compile my own code, I use OCamlMakefile
> where I have added:
>         INCDIRS = +site-lib/lacaml
>         LIBDIRS = +site-lib/lacaml
>         LIBS= str bigarray lacaml

You should use Gerd Stolpmann's "findlib" for compiling and linking:

Then you only need to write the following instead of setting INCDIRS,

  PACKS = str lacaml

It's not necessary to link bigarray here, because "findlib" knows how
to resolve dependencies (its purpose of existence), i.e. links bigarray


Markus Mottl

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: