Browse thread
[Caml-list] ocamlopt, windows, and no console
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2006-04-10 (17:41) |
From: | Igor Peshansky <pechtcha@c...> |
Subject: | Re: [Caml-list] ocamlopt, windows, and no console |
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"