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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-02-03 (17:00)
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          http://www.oefai.at/~markus          markus@oefai.at

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