From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=AWL,DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 2DD1FBB84 for ; Mon, 8 Dec 2008 16:43:27 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.33,735,1220220000"; d="scan'208";a="18167203" Received: from concorde.inria.fr ([192.93.2.39]) by mail2-smtp-roc.national.inria.fr with ESMTP; 08 Dec 2008 16:43:27 +0100 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id mB8FhQWa005587 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Mon, 8 Dec 2008 16:43:27 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtUBAI/PPEnZkrEEkWdsb2JhbACTVAEBAQEJCwoHEQOvcWGKBAU X-IronPort-AV: E=Sophos;i="4.33,735,1220220000"; d="scan'208";a="20969957" Received: from web27004.mail.ukl.yahoo.com ([217.146.177.4]) by mail1-smtp-roc.national.inria.fr with SMTP; 08 Dec 2008 16:43:26 +0100 Received: (qmail 61501 invoked by uid 60001); 8 Dec 2008 15:43:26 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=qNI1LsGSn0SxmW1V8pbtoVsprkoohzsR8lMvg2qH9B8k7Ej8yPAtqeoikpABcQLMjEpg+e1c2uLdptxY71cV9r9oQx13xAlBORsHRdVf2mUx2kV3dwR15UYoDPIGq6NmhG/NPZpel5DrWuiceKE65rKTqVotL1aNuKTClgc8xzE=; X-YMail-OSG: xuD2VrAVM1nNRURPC.CWTyzohutxITs0XU26SbTM6VVT5f7OobEuy6JNJk_q8U2qd1FW0d9juUV1.NMLi9H2ejfYbEf3wchSyOHyungiZUCuqxxMh0JwqEQMPYSN37oCcZ3L Received: from [193.52.94.5] by web27004.mail.ukl.yahoo.com via HTTP; Mon, 08 Dec 2008 15:43:25 GMT X-Mailer: YahooMailRC/1155.32 YahooMailWebService/0.7.260.1 Date: Mon, 8 Dec 2008 15:43:25 +0000 (GMT) From: Matthieu Wipliez Subject: OCaml 3.11 on MinGW To: caml-list@inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <999086.61430.qm@web27004.mail.ukl.yahoo.com> X-Miltered: at concorde with ID 493D409E.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; matthieu:01 ocaml:01 mingw:01 ocaml:01 mingw:01 lib:01 cygwin:01 compilation:01 cygwin:01 flags:01 cheers:01 matthieu:01 compile:01 compiling:02 functional:02 Dear OCaml users,=0A=0AI would just like to share with you my experience of= compiling OCaml 3.11 with MinGW and Minimal SYStem (MSYS).=0A=0AI had to s= et the FLEXLINKFLAGS environment variable to have OCaml compile successfull= y:=0A export FLEXLINKFLAGS=3D"-nocygpath -L C:\MinGW\lib"=0A(note that I i= nstalled MinGW in the default folder C:\MinGW)=0A=0AIndeed, the documentati= on states that flexdll will call cygpath to solve paths, and cygpath is not= available under MSYS.=0AThe -L was needed so that flexdll could find libra= ries.=0A=0AApart from that, the usual (1) copy configuration files (2) make= world, opt, opt.opt, install=0Awent smoothly.=0A=0AI now have a functional= OCaml, with a MSYS twice as small as the equivalent Cygwin installation, a= nd compilation goes at least twice as fast with MSYS.=0A=0ASo... my questio= ns are the following:=0A - what is the "official" status of OCaml on MinGW= /MSYS? The README.win32 still says that only Cygwin may be used, but that a= ppears not to be the case anymore.=0A - did I miss something with flexdll?= Are those extra flags always necessary with MinGW/MSYS, or is there a diff= erent way?=0A=0ACheers,=0AMatthieu=0A=0A=0A=0A