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 E651D81792 for ; Thu, 27 Jun 2013 15:52:47 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of bills@emu-bark.com) identity=pra; client-ip=64.202.165.6; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="bills@emu-bark.com"; x-sender="bills@emu-bark.com"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of bills@emu-bark.com) identity=mailfrom; client-ip=64.202.165.6; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="bills@emu-bark.com"; x-sender="bills@emu-bark.com"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@m1plsmtpa01-04.prod.mesa1.secureserver.net) identity=helo; client-ip=64.202.165.6; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="bills@emu-bark.com"; x-sender="postmaster@m1plsmtpa01-04.prod.mesa1.secureserver.net"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuQBAKVCzFFAyqUGlWdsb2JhbABbgkV2iSy3IxYOAQEBAQcNCQkSKoIjAQEEeQYWBB0WGAMCAQIBNwETDQYCAQGIBAaaLKAxk0EDnWaOUQ X-IPAS-Result: AuQBAKVCzFFAyqUGlWdsb2JhbABbgkV2iSy3IxYOAQEBAQcNCQkSKoIjAQEEeQYWBB0WGAMCAQIBNwETDQYCAQGIBAaaLKAxk0EDnWaOUQ X-IronPort-AV: E=Sophos;i="4.87,952,1363129200"; d="scan'208,217";a="23648168" Received: from m1plsmtpa01-04.prod.mesa1.secureserver.net ([64.202.165.6]) by mail2-smtp-roc.national.inria.fr with ESMTP; 27 Jun 2013 15:52:47 +0200 Received: from [192.168.0.2] ([173.26.186.224]) by m1plsmtpa01-04.prod.mesa1.secureserver.net with id tRsj1l00J4qv3b901RskHz; Thu, 27 Jun 2013 06:52:44 -0700 Message-ID: <51CC43B1.4050809@emu-bark.com> Date: Thu, 27 Jun 2013 09:52:49 -0400 From: William Smith User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Caml-list Content-Type: multipart/alternative; boundary="------------000409000302020503060907" Subject: [Caml-list] Re: OCaml on Windows This is a multi-part message in MIME format. --------------000409000302020503060907 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, One major concern with using cygwin to compile ocamlc etc. is that the resulting executables are subject to copy-left since it uses a DLL that is distributed under GPL. To quote from README.win32 in the top folder of the source: (*) Cygwin-generated .exe files refer to a DLL that is distributed under the GPL. Thus, these .exe files can only be distributed under a license that is compatible with the GPL. Executables generated by MSVC or by MinGW have no such restrictions. There's a difference between using cygwin to build the system (in other words, compile everything with gcc) vs. using cygwin to compile the tools (in other words, use a cygwin shell to execute all of the Makefile/Makefile.nt files and msvc or MinGW as the compiler). I have been building ocaml with the MSVC compiler for quite a while. I use cygwin to run the shell and Makefiles in the build process. I don't use cygwin compilers or utilities (other than make) in my production code. I don't have any experience with the MinGW port. I haven't done a thorough testing of all of the tools in OCaml-4.00.1 but I believe they all work. [The only problem I have had is that I have to manually block making the library otherlibs/labltk/browser.] also, r.3@libertyserf.fr said: > Is anyone using omake on windows? Does it have a dependency on Cygwin like ocamlbuild? I believe that is false that ocamlbuild depends on cygwin. Bill > Hi, > I am looking to use ocaml to implement a project for my employer. However, the > environment is Windows OS. I am using cygwin and so far it seems to work but >curious on experiences others have on using ocaml on windows - both as a > development and deployment platform. Also has anyone tried using opam on >windows? Does it work? >Bikal --------------000409000302020503060907 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi,

One major concern with using cygwin to compile ocamlc etc. is that the resulting executables are subject to copy-left since it uses a DLL that is distributed under GPL. 

To quote from README.win32 in the top folder of the source:

(*) Cygwin-generated .exe files refer to a DLL that is distributed under
the GPL.  Thus, these .exe files can only be distributed under a license
that is compatible with the GPL.  Executables generated by MSVC or by
MinGW have no such restrictions.

There's a difference between using cygwin to build the system (in other words, compile everything with gcc) vs. using cygwin to compile the tools (in other words, use a cygwin shell to execute all of the Makefile/Makefile.nt files and msvc or MinGW as the compiler).

I have been building ocaml with the MSVC compiler for quite a while.  I use cygwin to run the shell and Makefiles in the build process.   I don't use cygwin compilers or utilities (other than make) in my production code.   I don't have any experience with the MinGW port.

I haven't done a thorough testing of all of the tools in OCaml-4.00.1 but I believe they all work.   [The only problem I have had is that I have to manually block making the library otherlibs/labltk/browser.]

also, r.3@libertyserf.fr said:
> Is anyone using omake on windows? Does it have a dependency on Cygwin like ocamlbuild?

I believe that is false that ocamlbuild depends on cygwin.

Bill

> Hi,

> I am looking to use ocaml to implement a project for my employer. However, the
> environment is Windows OS. I am using cygwin and so far it seems to work but
>curious on experiences others have on using ocaml on windows - both as a
> development and deployment platform. Also has anyone tried using opam on
>windows? Does it work?

>Bikal
--------------000409000302020503060907--