caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Adrien <camaradetux@gmail.com>
To: matthieu.dubuget@gmail.com
Cc: Caml Mailing List <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Trying to setup mingw OCaml 3.12.1 + fresh cygwin
Date: Mon, 8 Aug 2011 21:25:59 +0200	[thread overview]
Message-ID: <CAP5QFJn74CsQvyNqP4H+Bgu=1iKKcnO3sSCe=ntF87xmHZCkfg@mail.gmail.com> (raw)
In-Reply-To: <4E3FF432.3000705@gmail.com>

Hi,

On 08/08/2011, Matthieu Dubuget <matthieu.dubuget@gmail.com> wrote:
> I have a problem with camlzip. In fact, the problem is not really
> ocaml-related… I do not know how to compile zlib with mingw64-i686-gcc,
> and use it to compile camlzip?

If you want windows libraries *quickly*, tap into opensuse's packages.

Fridrich Strba is making an awesome work about that. Many libraries,
and all working well.
Since you're getting windows libraries, you don't have to care if
they're from some linux distribution or another one as long you remain
consistent. The only issue you might be facing is whether you can run
their i686-w64-mingw32-gcc binary on your current distribution.

You can find the packages ("236" currently) at:
  https://build.opensuse.org/project/list?searchtext=windows%3Amingw&excludefilter=home%3A

Debian also has working binaries for windows but they use the
mingw.org and their own prefix (i586-msvc or something like that,
which is completely not standard and which doesn't really have a
reason to exist</rant>). Fedora has some too but I think that OpenSuse
has the biggest set of libraries.

As a note about the "i686-w64-mingw32" triplet, and its
"x86_64-w64-mingw32" friend, which are both weird and annoying to
type.
The trailing "32" should disappear and the "w64" wasn't really chosen
by the mingw-w64 project but by binutils as far as I know (let's hope
it changes).
Also, even though it's called "mingw-w64", it's possible to compile
32bit and 64bit applications for windows. Both are working well and
equally supported.


Hope this helps,

Adrien Nader


  reply	other threads:[~2011-08-08 19:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-08 14:35 Matthieu Dubuget
2011-08-08 19:25 ` Adrien [this message]
2011-08-10  8:25 ` David Allsopp
2011-08-10  9:42   ` Matthieu Dubuget
2011-08-10 10:55     ` Adrien
2011-08-12 11:55       ` David Allsopp
2011-08-12 12:00     ` David Allsopp
2011-08-12 13:07       ` Adrien

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='CAP5QFJn74CsQvyNqP4H+Bgu=1iKKcnO3sSCe=ntF87xmHZCkfg@mail.gmail.com' \
    --to=camaradetux@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=matthieu.dubuget@gmail.com \
    /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).