Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Markus Mottl <markus@oefai.at>
To: Jan Kybic <kybic@fel.cvut.cz>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Compiling with lacaml
Date: Tue, 3 Feb 2004 18:00:34 +0100	[thread overview]
Message-ID: <20040203170034.GA9081@fichte.ai.univie.ac.at> (raw)
In-Reply-To: <m2d68wpbj1.fsf@cmpgw-iii-23.felk.cvut.cz>

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


  reply	other threads:[~2004-02-03 17:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-03 12:56 Jan Kybic
2004-02-03 17:00 ` Markus Mottl [this message]
2004-02-03 17:50   ` Jan Kybic
2004-02-03 18:43     ` Markus Mottl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040203170034.GA9081@fichte.ai.univie.ac.at \
    --to=markus@oefai.at \
    --cc=caml-list@inria.fr \
    --cc=kybic@fel.cvut.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox