From: Christophe TROESTLER <Christophe.Troestler+ocaml@umh.ac.be>
To: caml-list@inria.fr
Subject: Re: [Caml-list] windows ocaml
Date: Tue, 19 Jun 2007 09:28:06 +0200 (CEST) [thread overview]
Message-ID: <20070619.092806.212251413.Christophe.Troestler+ocaml@umh.ac.be> (raw)
In-Reply-To: <1182232242.29571.157.camel@rosella.wigram>
On Tue, 19 Jun 2007, skaller <skaller@users.sourceforge.net> wrote:
>
> on Windows. This is with 3.09 native build.
Here is what I get for 3.10, MSVC.
> 1. ocamlc makes a bytecode file without an extension, which
> cannot be executed. Ocamlopt adds '.exe'. This is inconsistent.
ocamlc without -o produces camlprog.exe
> 2. ocamlc makes a bytecode file which, when you add .exe
> to the end can't exec ocamlrun .. even though it is in the PATH.
> ocamlrun filename works fine.
ocamlc -o a.exe a.ml
produces a prefectly runnable executable (just typing 'a.exe').
> For transparency, the generated bytecode must use the same filename
> (.exe must be added) and the bytecode must actually run.
^^^^^^^^^^^^^^^^^^
Isn't it your own choice when you use the -o flag?
> It looks like the bytecode is binding the wrong ocamlrun location,
Maybe you have several ones installed??
My 0.02€,
ChriS
next prev parent reply other threads:[~2007-06-19 7:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-19 5:50 skaller
2007-06-19 7:28 ` Christophe TROESTLER [this message]
2007-06-19 9:25 ` [Caml-list] " skaller
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=20070619.092806.212251413.Christophe.Troestler+ocaml@umh.ac.be \
--to=christophe.troestler+ocaml@umh.ac.be \
--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