[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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 |
Ahoj, 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: http://www.ocaml-programming.de/packages Then you only need to write the following instead of setting INCDIRS, LIBDIRS and LIBS: 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 automatically. Zdravi, Markus -- 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