From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p78JQ5Mn021556 for ; Mon, 8 Aug 2011 21:26:05 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtECAK03QE7RVdc0kGdsb2JhbABDmByPAwgUAQEBAQkJDQcUBCGBQAEBAQEDEgIsARsdAQMMBgULDS4hAQERAQUBHBkih0+hEAqMMYJVhHo7iG0CAwaGQQSTAolugmI8g14 X-IronPort-AV: E=Sophos;i="4.67,338,1309730400"; d="scan'208";a="104988709" Received: from mail-ew0-f52.google.com ([209.85.215.52]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 08 Aug 2011 21:26:00 +0200 Received: by ewy28 with SMTP id 28so2124136ewy.39 for ; Mon, 08 Aug 2011 12:25:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=qclgk8CB1+CE3503QPY0GW/xLfqhlDa3uWEE3trBHvA=; b=cba64FSq77wActJf3Pym7UhV31gWDpsZVMqWET492OnkgzMix3uwjjJ4uyy4wspi7Q v8p6ektE01zL3vpgfoRHdZmexpCSAjzUcoilpKNT81jFhssj+BoGNc65gUc4YwAgvs/o wmr0n4yhZME9HgFJffAjyJMMaACi9p0Bz37cQ= MIME-Version: 1.0 Received: by 10.213.13.141 with SMTP id c13mr1153592eba.113.1312831559383; Mon, 08 Aug 2011 12:25:59 -0700 (PDT) Received: by 10.213.5.13 with HTTP; Mon, 8 Aug 2011 12:25:59 -0700 (PDT) In-Reply-To: <4E3FF432.3000705@gmail.com> References: <4E3FF432.3000705@gmail.com> Date: Mon, 8 Aug 2011 21:25:59 +0200 Message-ID: From: Adrien To: matthieu.dubuget@gmail.com Cc: Caml Mailing List Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id p78JQ5Mn021556 Subject: Re: [Caml-list] Trying to setup mingw OCaml 3.12.1 + fresh cygwin Hi, On 08/08/2011, Matthieu Dubuget 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). 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