caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Chris King" <colanderman@gmail.com>
To: "Manuel Preliteiro" <hankalagon@gmail.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] non trivial (at least not to me) Hybrid program compiling
Date: Sun, 11 Mar 2007 13:26:43 -0500	[thread overview]
Message-ID: <875c7e070703111126q27549165v1251fdbd6020e1e@mail.gmail.com> (raw)
In-Reply-To: <2b162d970703111122w23dce20cu260b85ffda620989@mail.gmail.com>

On 3/11/07, Manuel Preliteiro <hankalagon@gmail.com> wrote:
> ocamlopt `pkg-config libpcsclite --libs` -o test testC.o testML.ml

You want to use the --ccopt and --cclib flags to pass the options to
the C compiler; e.g:

ocamlopt -cclib `pkg-config libpcsclite --libs` -o test testC.o testML.ml

or

ocamlopt -ccopt `pkg-config libpcsclite --cflags` -o test testC.c testML.ml

HTH.

- Chris


      reply	other threads:[~2007-03-11 18:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-11 18:22 Manuel Preliteiro
2007-03-11 18:26 ` Chris King [this message]

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=875c7e070703111126q27549165v1251fdbd6020e1e@mail.gmail.com \
    --to=colanderman@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=hankalagon@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).