From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.9 required=5.0 tests=AWL,DNS_FROM_RFC_POST, SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 97840BC37 for ; Tue, 9 Jun 2009 16:39:20 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsBAOIQLkrRVdiumGdsb2JhbACXbj8BAQEBAQgJDAcSp3OPfgEDAgSEBgWHGg X-IronPort-AV: E=Sophos;i="4.41,332,1241388000"; d="scan'208";a="41412696" Received: from mail-px0-f174.google.com ([209.85.216.174]) by mail4-smtp-sop.national.inria.fr with ESMTP; 09 Jun 2009 16:39:19 +0200 Received: by pxi4 with SMTP id 4so19833pxi.1 for ; Tue, 09 Jun 2009 07:39:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=M9GFBHjoMa61NcYRmZU0SU/SLHAS+576Q7Vm379Y3h8=; b=FLUiauRWFjJVLxliq1pGHprIfVBk1tVvlYXi8bdRlIfik5I1rXVDEWnFmBSQ35N7Yj 81ZG8uEZFwHx5tkpUNr5fRQw6tsPzQvCChZ4H9PsaywsLIMf6rrsedbNbwFo+qQhC8LD IT42zDMQjEKRCjhEhUz/JGFGPFvuPan4z7Iag= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=R/O+B3bnt+Y61QUS1ZhoRO28V/HPeWnUpQGkSCSfIu1MzfivWwcBwukzs/cZEfVXiO 4kcHO07O3bByhbh3IIBNIox4PwJ53YpAQ7L3F/yqzNjaTGjxZA6/Vz3lDPZAMuLWeMez zeAwDVpWcXc6JIvpgsfVzsfVwUc9F4uNIPTnM= MIME-Version: 1.0 Sender: oandrieu@gmail.com Received: by 10.114.190.6 with SMTP id n6mr254613waf.133.1244558358771; Tue, 09 Jun 2009 07:39:18 -0700 (PDT) In-Reply-To: <20090609140100.GA30490@pema> References: <20090609083103.GA13816@pema> <20090609121731.GA4582@annexia.org> <20090609140100.GA30490@pema> Date: Tue, 9 Jun 2009 16:39:18 +0200 X-Google-Sender-Auth: aba77038ba36b74b Message-ID: <95513600906090739p2f15846n9b09b8d1e12cd891@mail.gmail.com> Subject: Re: [Caml-list] Caml on CentOS: problem with -custom option From: Olivier Andrieu To: caml-list@yquem.inria.fr, caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; -custom:01 andrieu:01 oandrieu:01 ens-lyon:01 -lcurses:01 -custom:01 ocaml:01 bytecode:01 runtime:01 compiler:01 ocamlrun:01 bytecode:01 -lcurses:01 runtime:01 2009:98 On Tue, Jun 9, 2009 at 16:01, S=E9bastien 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. --=20 Olivier