caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Soegtrop, Michael" <michael.soegtrop@intel.com>
To: whitequark <whitequark@whitequark.org>,
	"caml-list@inria.fr" <caml-list@inria.fr>
Subject: RE: [Caml-list] [ANN] opam-cross-windows
Date: Tue, 15 Mar 2016 08:26:52 +0000	[thread overview]
Message-ID: <0F7D3B1B3C4B894D824F5B822E3E5A172CEA76CE@IRSMSX102.ger.corp.intel.com> (raw)
In-Reply-To: <bf0131483b16f5ca8877a614c22197b5@whitequark.org>

Dear Whitequark,

> I've released opam-cross-windows[1], a 4.02.3 OCaml toolchain in the spirit
> of opam-cross-android[2] (ex opam-android).

Do you think there are good chances that this also works for cross compiling for MinGW on cygwin.
Or asked in another way: are there known reasons why this shouldn't work?

I made some scripts to compile things like GTK, pango, cairo, ocaml, menhir, Coq, CoqIDE, ... for MinGW on cygwin and also to setup cygwin with the required packages automatically in a reproducible way. A MinGW cross Opam for cygwin would be the logical next step. Together with my scripts this might be a reproducible and maintainable way to compile and setup ocaml and required libraries on Windows.

One more question: on Windows there is (or was) a circular dependency between flexdll and Ocaml. One of the two needs to be installed in binary form. Did you also run into this issue? If so, how did you solve it?

Btw: I also experimented with MSys, MSys2 instead of cygwin, but found that cross compiling mayn packages for for MinGW under cygwin is easier than under MSys, MSys2.

Best regards,

Michael
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928


  parent reply	other threads:[~2016-03-15  8:26 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-13  9:02 whitequark
2016-03-14 19:55 ` Martin DeMello
2016-03-14 20:14   ` Adrien Nader
2016-03-14 20:26     ` Martin DeMello
2016-03-14 20:39       ` Adrien Nader
2016-03-14 21:10         ` Martin DeMello
2016-03-15  8:37       ` whitequark
2016-03-15  8:26 ` Soegtrop, Michael [this message]
2016-03-15  8:36   ` whitequark
2016-03-15  8:53     ` Soegtrop, Michael
2016-03-15  8:56       ` whitequark
2016-03-15 11:29         ` Soegtrop, Michael
2016-03-16 14:27       ` Andreas Hauptmann
2016-03-15  9:18     ` Adrien Nader
2016-03-15  9:12   ` David Allsopp
2016-05-20 18:38 ` Boutillier, Pierre
2016-05-20 18:45   ` whitequark
2016-05-23  8:24     ` Soegtrop, Michael
2016-05-24  6:57       ` whitequark
2016-05-24 12:35         ` Adrien Nader
2016-05-23  9:53   ` Mauricio Fernández

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=0F7D3B1B3C4B894D824F5B822E3E5A172CEA76CE@IRSMSX102.ger.corp.intel.com \
    --to=michael.soegtrop@intel.com \
    --cc=caml-list@inria.fr \
    --cc=whitequark@whitequark.org \
    /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).