Version française
Home     About     Download     Resources     Contact us    
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: Jan Kybic <kybic@f...>
Subject: Re: [Caml-list] Compiling with lacaml
> > 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,
> LIBDIRS and LIBS:
> 
>   PACKS = str lacaml

Yes, that's correct. But even so, it needs the *.cmi, *.cmx and *.cmo
that the lacaml Makefile does not seem to install by default.

Jan

P.S. Diky za radu. 

-- 
-------------------------------------------------------------------------
Jan Kybic <kybic@ieee.org>                  tel. +420 2 2435 7264
       or <kybic@fel.cvut.cz>,     http://cmp.felk.cvut.cz/~kybic

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