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 64267BB81 for ; Mon, 10 Apr 2006 19:41:08 +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 k3AHf7LG015975 for ; Mon, 10 Apr 2006 19:41:08 +0200 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA14521 for ; Mon, 10 Apr 2006 19:41:07 +0200 (MET DST) Received: from access1.cims.nyu.edu (ACCESS1.CIMS.NYU.EDU [128.122.81.155]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k3AHf6QX013569 for ; Mon, 10 Apr 2006 19:41:07 +0200 Received: from localhost (localhost [127.0.0.1]) by access1.cims.nyu.edu (8.12.10+Sun/8.12.10) with ESMTP id k3AHf6TS012928 for ; Mon, 10 Apr 2006 13:41:06 -0400 (EDT) Date: Mon, 10 Apr 2006 13:41:06 -0400 (EDT) From: Igor Peshansky X-X-Sender: pechtcha@access1.cims.nyu.edu Reply-To: caml-list@inria.fr To: caml-list@inria.fr Subject: Re: [Caml-list] ocamlopt, windows, and no console In-Reply-To: <3bgljqhr.fsf@mail.ru> Message-ID: References: <3bgljqhr.fsf@mail.ru> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Miltered: at nez-perce with ID 443A98B4.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 443A98B2.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocamlopt:01 ocamlopt:01 ocaml:01 mingw:01 msvc-based:01 -cclib:01 -cclib:01 mingw:01 gcc:01 rostand:01 wrote:01 caml-list:01 writes:01 dmitry:01 bely:01 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=none autolearn=disabled version=3.0.3 On Mon, 10 Apr 2006, Dmitry Bely wrote: > "Jonathan Roewen" writes: > > > How does one generate an .exe using ocamlopt that doesn't launch a > > console window? > > What Ocaml build are you using? If Mingw one then I am afraid it's not > possible, but if it's MSVC-based I would try to play with > > -cclib /link -cclib /subsystem:windows > > options. In MinGW, you should be able to pass in the -mwindows flag to gcc (see ). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu | igor@watson.ibm.com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac"