Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Olivier Andrieu <oandrieu@nerim.net>
To: caml-list@yquem.inria.fr, caml-list@inria.fr
Subject: Re: [Caml-list] Caml on CentOS: problem with -custom option
Date: Tue, 9 Jun 2009 16:39:18 +0200	[thread overview]
Message-ID: <95513600906090739p2f15846n9b09b8d1e12cd891@mail.gmail.com> (raw)
In-Reply-To: <20090609140100.GA30490@pema>

On Tue, Jun 9, 2009 at 16:01, Sébastien
Hinderer<Sebastien.Hinderer@ens-lyon.org> wrote:
>
> Just out of curiosity: does anybody see what could cause the -lcurses
> flag to be present when -custom is specified ?

the ocaml bytecode runtime includes some functions that uses curses so
that the compiler can display improved error messages on terminals.
The ocamlrun bytecode interpreter is thus linked with -lcurses. When
you use -custom, your executable includes the bytecode runtime and
gets the -lcurses flag.

The configure script has a -no-curses option to disable this.

-- 
  Olivier


  parent reply	other threads:[~2009-06-09 14:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-09  8:31 Sébastien Hinderer
2009-06-09 12:17 ` [Caml-list] " Richard Jones
2009-06-09 14:01   ` Sébastien Hinderer
2009-06-09 14:31     ` Stéphane Glondu
2009-06-09 16:02       ` Sébastien Hinderer
2009-06-09 14:39     ` Olivier Andrieu [this message]
2009-06-09 16:47     ` Richard Jones

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=95513600906090739p2f15846n9b09b8d1e12cd891@mail.gmail.com \
    --to=oandrieu@nerim.net \
    --cc=caml-list@inria.fr \
    --cc=caml-list@yquem.inria.fr \
    /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