caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jean Krivine <jean.krivine@gmail.com>
To: "Vũ Ngọc San" <san.vu-ngoc@univ-rennes1.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Compiling Windows native code
Date: Thu, 24 Feb 2011 14:43:40 +0100	[thread overview]
Message-ID: <AANLkTikbm9U9RQXFCqk11x-957PYs5kVpYrb1-wf81yc@mail.gmail.com> (raw)
In-Reply-To: <201102211147.54229.san.vu-ngoc@univ-rennes1.fr>

[-- Attachment #1: Type: text/plain, Size: 1202 bytes --]

Fantastic, this procedure works like a charm (tested on a XP virutal machine
installed on my mac OS X) ! I can now produce ocaml binaires for windows.
Thank you very much for the tutorial!

For some reason ocamlopt cannot find ocaml libraires though... but it works
if you give the link to the libraires explicitely using
ocamlopt -I /c/mingw/lib -I /c/ocamlmgw/lib (respecting the name of the
procedure).

Cheers!

J

On Mon, Feb 21, 2011 at 11:47 AM, Vũ Ngọc San
<san.vu-ngoc@univ-rennes1.fr>wrote:

> incidentally, I've just installed ocaml+SDL on windows Vista and XP,
> using Mingw and flexlink, and I can compile both bytecode and nativecode.
>
> I put up a blog post for this, maybe it can help you (?)
>
>
> http://blogperso.univ-rennes1.fr/san.vu-ngoc/index.php/post/2011/02/20/Ocaml-
> and-SDL-on-windows<http://blogperso.univ-rennes1.fr/san.vu-ngoc/index.php/post/2011/02/20/Ocaml-%0Aand-SDL-on-windows>
>
> San
>
>
> --
> Caml-list mailing list.  Subscription management and archives:
> https://sympa-roc.inria.fr/wws/info/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
>

[-- Attachment #2: Type: text/html, Size: 1803 bytes --]

      parent reply	other threads:[~2011-02-24 13:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-20 10:40 Jean Krivine
2011-02-20 22:13 ` David Allsopp
2011-02-21  9:21   ` Jean Krivine
2011-02-21  9:59     ` David Allsopp
2011-02-21 10:47       ` Vũ Ngọc San
2011-02-21 11:08         ` jean.krivine
2011-02-24 13:43         ` Jean Krivine [this message]

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=AANLkTikbm9U9RQXFCqk11x-957PYs5kVpYrb1-wf81yc@mail.gmail.com \
    --to=jean.krivine@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=san.vu-ngoc@univ-rennes1.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).