From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id C677B7F0AF for ; Mon, 14 Mar 2016 20:56:19 +0100 (CET) IronPort-PHdr: 9a23:b3DgrhNiWLg8Fa/FNdkl6mtUPXoX/o7sNwtQ0KIMzox0KPT/rarrMEGX3/hxlliBBdydsKIbzbuI+Pm7ACQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JTokbHssMSIOk1hv3mUX/BbFF2OtwLft80b08NJC50a7V/3mEZOYPlc3mhyJFiezF7W78a0+4N/oWwL46pyv/h7TL7icq8kYbtdBTUgeyBptYy4/SXEGBSP52cRS3gfiBkAVxfF7Q33R4r4qCjSqep8xCSDIMTsTvYzQzv0vIlxTxq9rS4dKz8/uE3ar8F0iKUT9BeovQB+xYLZZYyRMP1WcabUfNdcTm1ECJUCHxddC5+xOtNcR9EKOvxV+tWsqg== Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=martindemello@gmail.com; spf=Pass smtp.mailfrom=martindemello@gmail.com; spf=None smtp.helo=postmaster@mail-ig0-f171.google.com Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of martindemello@gmail.com) identity=pra; client-ip=209.85.213.171; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="martindemello@gmail.com"; x-sender="martindemello@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of martindemello@gmail.com designates 209.85.213.171 as permitted sender) identity=mailfrom; client-ip=209.85.213.171; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="martindemello@gmail.com"; x-sender="martindemello@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-ig0-f171.google.com) identity=helo; client-ip=209.85.213.171; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="martindemello@gmail.com"; x-sender="postmaster@mail-ig0-f171.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CkAQAlF+dWi6vVVdFdg2Q0bQaoJYFOhVSMZyGFbAKBKwc8EAEBAQEBAQEBEAEBAQgLCwkfMYItghUBAQMBEhEdARsQAggDAQMBCwYFBAcaHQICIgERAQUBChIGExIQh2wBAwoIDp8KgTE+MYs2gWqCV4VJChknAwpRg3MBAQEBAQUBAQEBAQEBARIBBQoFhgmEQoRnglOBOgWGIAyIAYkehW6IEoFlS4N+iFeNPxEegQ8PKIIhHoFwHC6KYwEBAQ X-IPAS-Result: A0CkAQAlF+dWi6vVVdFdg2Q0bQaoJYFOhVSMZyGFbAKBKwc8EAEBAQEBAQEBEAEBAQgLCwkfMYItghUBAQMBEhEdARsQAggDAQMBCwYFBAcaHQICIgERAQUBChIGExIQh2wBAwoIDp8KgTE+MYs2gWqCV4VJChknAwpRg3MBAQEBAQUBAQEBAQEBARIBBQoFhgmEQoRnglOBOgWGIAyIAYkehW6IEoFlS4N+iFeNPxEegQ8PKIIhHoFwHC6KYwEBAQ X-IronPort-AV: E=Sophos;i="5.24,337,1454972400"; d="scan'208,217";a="168621599" Received: from mail-ig0-f171.google.com ([209.85.213.171]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 14 Mar 2016 20:56:00 +0100 Received: by mail-ig0-f171.google.com with SMTP id ig19so71040023igb.0 for ; Mon, 14 Mar 2016 12:56:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=6V9dgS5SjALXg+5bKbFDiJ0DTlMjr96/QQEZVao/mFA=; b=KaZacsZ/lVwKVVMRe0tEfT0nrb8RgjiJCYkgwCSqYNoNNuHFZ6zTji6rtxnFHg0lB2 AIgBJsJJzyv8RzhEWMC2+eFgGqul5GktM+XNo1hoPdm70M9fqrXLBXnaK9XXQWB4MNcH xar96qUz9TJQBu9O54Y0Bl5Zue/UxQdhbF9KoM1DQrAm20Wd1mU+uSIzpxPp6m4q1WUG rPaNIwybuJQcs3z9u0sh1NZLyJX0QxvSTRZLVQilamCi5LZnekwTcdKBAyamu9SQK+ud +uoyR2dZ2z00i23hEQtJWWbHmAf8XkN6sXNF3dvwpqHLYW51jpA98yi1x3rQ1Qk081UX a0tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=6V9dgS5SjALXg+5bKbFDiJ0DTlMjr96/QQEZVao/mFA=; b=eajFsit9PhlAywBlhLb1D6B+bHJYjboUjqvZgyJZKTEsARKUZE11eqOJn9A4sAdgGH X/ioKHc7IeefTiWYx0jRgq7cztDWJj+E4hNPYRf8t6BJo63ktVQt0Ry7u3yo2TT2L60M ZhnE4/NWh06asWNBsIGnXk1Qf15jTT8NsnknKccxYl7E09W8KLLPjYYOGwjtfQpc+JL9 Avcsciqnig1oCCH4pfKOeLFWQ6CdOoN62pkC/rSm2a6TAr/KMn3NQ0yGx+DIL6KFdILu doHQI0ySjS60UlZ9+n7XkQXHt6amu2LbpLzdcr86cnUbb9I/Pu5bK6Rmcfv2aaEkR8Ws m+VA== X-Gm-Message-State: AD7BkJL92P96H1cH8O0nZ9N0k2SUAy1zEQHW8za+QEQdlGLW9Kqu+wRJRP2dq8F+tmIqkKY0ugYF1niIVThWAQ== MIME-Version: 1.0 X-Received: by 10.50.225.70 with SMTP id ri6mr17836706igc.97.1457985359726; Mon, 14 Mar 2016 12:55:59 -0700 (PDT) Received: by 10.79.115.141 with HTTP; Mon, 14 Mar 2016 12:55:59 -0700 (PDT) In-Reply-To: References: Date: Mon, 14 Mar 2016 12:55:59 -0700 Message-ID: From: Martin DeMello To: whitequark Cc: "caml-list@inria.fr" Content-Type: multipart/alternative; boundary=001a11c39b82745015052e07abbb Subject: Re: [Caml-list] [ANN] opam-cross-windows --001a11c39b82745015052e07abbb Content-Type: text/plain; charset=UTF-8 If anyone has gotten this working on ubuntu, please share the mingw packages you had to install for it. (If not I'll report back once I do.) martin On Sun, Mar 13, 2016 at 1:02 AM, whitequark wrote: > Hi all, > > I've released opam-cross-windows[1], a 4.02.3 OCaml toolchain > in the spirit of opam-cross-android[2] (ex opam-android). > It provides easy cross-compilation of the OCaml compiler > and select packages from any *nix environment to 32-bit > and 64-bit x86 Windows. > > There aren't many packages yet but you're encouraged to submit > your own. Personally, I find the porting process that uses > the opam-cross-* conventions so simple and robust that it > can be done nearly mindlessly. > > The cross-compiled package definitions themselves are > identical to the ones from opam-cross-android (except for > s/android/windows) so I think cross-compilation should gain > at least minimal OPAM support; I've described my proposal > at [3]. > > [1]: https://github.com/whitequark/opam-cross-windows > [2]: https://github.com/whitequark/opam-cross-android > [3]: https://github.com/ocaml/opam/issues/2476 > > -- > whitequark > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > --001a11c39b82745015052e07abbb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
If anyone has gotten this working on ubuntu, please share = the mingw packages you had to install for it. (If not I'll report back = once I do.)

martin

On Sun, Mar 13, 2016 at 1:02 AM, whitequark= <whitequark@whitequark.org> wrote:
Hi all,

I've released opam-cross-windows[1], a 4.02.3 OCaml toolchain
in the spirit of opam-cross-android[2] (ex opam-android).
It provides easy cross-compilation of the OCaml compiler
and select packages from any *nix environment to 32-bit
and 64-bit x86 Windows.

There aren't many packages yet but you're encouraged to submit
your own. Personally, I find the porting process that uses
the opam-cross-* conventions so simple and robust that it
can be done nearly mindlessly.

The cross-compiled package definitions themselves are
identical to the ones from opam-cross-android (except for
s/android/windows) so I think cross-compilation should gain
at least minimal OPAM support; I've described my proposal
at [3].

[1]: https://github.com/whitequark/opam-cross-window= s
[2]: https://github.com/whitequark/opam-cross-androi= d
[3]: https://github.com/ocaml/opam/issues/2476

--
whitequark

--
Caml-list mailing list.=C2=A0 Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocam= l_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

--001a11c39b82745015052e07abbb--