Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Caml on CentOS: problem with -custom option
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-06-09 (14:39)
From: Olivier Andrieu <oandrieu@n...>
Subject: Re: [Caml-list] Caml on CentOS: problem with -custom option
On Tue, Jun 9, 2009 at 16:01, Sébastien
Hinderer<> 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.