From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id D814ABBC0 for ; Tue, 11 Apr 2006 11:05:22 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k3B37luO031941 for ; Tue, 11 Apr 2006 05:07:47 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id FAA19562 for ; Tue, 11 Apr 2006 05:07:46 +0200 (MET DST) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k3B37jg4031937 for ; Tue, 11 Apr 2006 05:07:46 +0200 Received: by zproxy.gmail.com with SMTP id 4so927853nzn for ; Mon, 10 Apr 2006 20:07:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uYyJ8kdrH1FvAk7kM59PO5LLJsdmTPQu1U/lNM/hiqM4WhCOS/k+a5DEh+Yp4wv8y8hzqDYx/dwKpSluRIfagk3P0NpBQl/ARvF90kobo02c75XML/JB7ph+cjii8fVLFMDx1uKrcIIJsMpsyl6K8CfDe73J1aXEw6jRmHtYCUg= Received: by 10.36.247.66 with SMTP id u66mr5912715nzh; Mon, 10 Apr 2006 20:07:45 -0700 (PDT) Received: by 10.36.121.13 with HTTP; Mon, 10 Apr 2006 20:07:45 -0700 (PDT) Message-ID: Date: Tue, 11 Apr 2006 15:07:45 +1200 From: "Jonathan Roewen" To: "Dmitry Bely" Subject: Re: [Caml-list] ocamlopt, windows, and no console Cc: caml-list@inria.fr In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <3bgljqhr.fsf@mail.ru> X-Miltered: at nez-perce with ID 443B1D83.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 443B1D81.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocamlopt:01 ocaml's:01 ocamlopt:01 compiler:01 lib:01 caml-list:01 guess:03 i'd:05 specify:06 probably:06 file:08 file:08 console:08 procedure:11 isn't:13 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.3 > I guess I'd have to provide a .c file which wraps ocaml's main > procedure then, which probably isn't too hard. Which then leads me to > requesting an option for the ocamlopt compiler for windows to have an > option to do this all automatically. And back to the task at hand: how do I specify a .lib file on the command line to get this all to link? I can't figure out the cclib/ccopt options to pass to ocamlopt =3D/ Jonathan