caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Igor Peshansky <pechtcha@cs.nyu.edu>
To: caml-list@inria.fr
Subject: Re: [Caml-list] ocamlopt, windows, and no console
Date: Mon, 10 Apr 2006 13:41:06 -0400 (EDT)	[thread overview]
Message-ID: <Pine.GSO.4.63.0604101338470.20193@access1.cims.nyu.edu> (raw)
In-Reply-To: <3bgljqhr.fsf@mail.ru>

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
<http://www.mingw.org/docs.shtml>).
	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"


  reply	other threads:[~2006-04-10 17:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-10 15:19 Jonathan Roewen
2006-04-10 17:21 ` Dmitry Bely
2006-04-10 17:41   ` Igor Peshansky [this message]
2006-04-11  2:41   ` Jonathan Roewen
2006-04-11  3:07     ` Jonathan Roewen
2006-04-11 14:33       ` David Allsopp
2006-04-11 17:31     ` Harry Chomsky
2006-04-11 20:37 David Allsopp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.63.0604101338470.20193@access1.cims.nyu.edu \
    --to=pechtcha@cs.nyu.edu \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).