Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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<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