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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 6ACD881792 for ; Tue, 25 Jun 2013 10:40:24 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of dra-news@metastack.com) identity=pra; client-ip=81.103.221.49; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="dra-news@metastack.com"; x-sender="dra-news@metastack.com"; x-conformance=sidf_compatible Received-SPF: Neutral (mail2-smtp-roc.national.inria.fr: domain of dra-news@metastack.com does not assert whether or not 81.103.221.49 is permitted sender) identity=mailfrom; client-ip=81.103.221.49; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="dra-news@metastack.com"; x-sender="dra-news@metastack.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mtaout03-winn.ispmail.ntl.com) identity=helo; client-ip=81.103.221.49; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="dra-news@metastack.com"; x-sender="postmaster@mtaout03-winn.ispmail.ntl.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuAAAEFXyVFRZ90xlGdsb2JhbABagmhSSb85fhYOAQEBAQcNCQkUAyWCIwEBAQMBfgsCAQgYCiQyJQIEG4gABwMIunqNfYEXOIMCYQOIaY5agSmTK4Io X-IPAS-Result: AuAAAEFXyVFRZ90xlGdsb2JhbABagmhSSb85fhYOAQEBAQcNCQkUAyWCIwEBAQMBfgsCAQgYCiQyJQIEG4gABwMIunqNfYEXOIMCYQOIaY5agSmTK4Io X-IronPort-AV: E=Sophos;i="4.87,935,1363129200"; d="scan'208";a="23250326" Received: from mtaout03-winn.ispmail.ntl.com ([81.103.221.49]) by mail2-smtp-roc.national.inria.fr with ESMTP; 25 Jun 2013 10:40:05 +0200 Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20130625084004.XGYA27949.mtaout03-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Tue, 25 Jun 2013 09:40:04 +0100 Received: from romulus.metastack.com ([81.102.132.77]) by aamtaout03-winn.ispmail.ntl.com (InterMail vG.3.00.04.00 201-2196-133-20080908) with ESMTP id <20130625084004.SGSZ2660.aamtaout03-winn.ispmail.ntl.com@romulus.metastack.com> for ; Tue, 25 Jun 2013 09:40:04 +0100 Received: from remus.metastack.local (remus.metastack.com [172.16.0.1]) by romulus.metastack.com (8.14.2/8.14.2) with ESMTP id r5P8e26W003601 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 25 Jun 2013 09:40:02 +0100 Received: from Remus.metastack.local ([fe80::547c:3c42:e1da:eda2]) by Remus.metastack.local ([fe80::547c:3c42:e1da:eda2%10]) with mapi id 14.03.0123.003; Tue, 25 Jun 2013 09:40:02 +0100 From: David Allsopp To: "OCaml List (caml-list@inria.fr)" Thread-Topic: [Caml-list] Ocaml on windows Thread-Index: AQHOcLo6mJWQ2qV93E+wKr6/m518YplElu/g///6VQCAAYb9EA== Date: Tue, 25 Jun 2013 08:40:01 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.0.18] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Organization: MetaStack Solutions Ltd. X-Scanned-By: MIMEDefang 2.65 on 172.16.0.20 X-Cloudmark-Analysis: v=1.1 cv=GaEGOwq9FwezmTggA+b6yC6zDZF2HYaK6RN/tSqdnVA= c=1 sm=0 a=IXlcok0kcmcA:10 a=L1PzsWp0xOIA:10 a=cTs9vV391PwA:10 a=8nJEP1OIZ-IA:10 a=xqWC_Br6kY4A:10 a=jK3bGrtaAAAA:8 a=Tl8A17ybd2COrjKERm4A:9 a=wPNLvfGTeEIA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Subject: RE: [Caml-list] Ocaml on windows Bikal Gurung wrote: > Hi David, > > Thank you for your response. I have installed the official windows port o= f ocaml at > http://protz.github.io/ocaml-installer/ . However, it mentions that MinGW= /Msys is no longer supported. > I rather use Mingw/Msys as well. I meant I use the MinGW port of the compiler rather than the MSVC port - I = compile it using the mingw-w64 compilers provided with Cygwin. I only use C= ygwin to compile OCaml and related libraries (again, principally for histor= ical reasons, I develop using a normal command shell with GnuWin32 to provi= de Unix commands). Building using Cygwin (i.e. the supported way) has the b= enefit that when you get stuck, others are likely to (be able to) help! :o)= Do you have a particular to want to use MSYS rather than Cygwin? > It seems ocamlbuild requires cygwin to work, has this been your experienc= e too? If I build the latest > ocaml from trunk - 4.02dev+fp will ocaml and other tools/utilities still = work on pure MingWg/Msys > environment? Yes. Because I use GnuWin32 (which has its bin folder in my PATH) I prefer = not to put C:\cygwin\bin in my PATH but symlink through the required utilit= ies in C:\Dev\OCaml\bin (C:\Dev\OCaml is my installation root for OCaml) - = my OCaml installation requires bash.exe (for ocamlbuild), cpp.exe (for ocam= lnet) and i686-w64-mingw32-ar.exe + i686-w64-mingw32-as.exe + i686-w64-ming= w32-dlltool.exe + i686-w64-mingw32-gcc.exe + i686-w64-mingw32-ranlib.exe fo= r ocamlopt. > With regards to ocaml libraries, have you tried the Jane Street packages?= Core, core_kernel ?=A0 No - I'd got the impression that their library was very Unix-oriented (thou= gh I think core_kernel may now address that?) Again, it's mainly laziness -= I've been using OCaml for long enough that I already have my own core libr= ary so while switching to a supported one may be great, nothing's broken (y= et!). The libraries I do use are: findlib, extlib, calendar, pcre, csv, bat= teries, pgocaml, camlzip, ssl, cryptokit, ocamlnet, json-wheel, json-static= , spiderCaml, ocamlsha, ocamldap with natively compiled C libraries (for op= enssl, zlib, etc.) where appropriate. David