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 32A657FEFE for ; Sat, 25 Jun 2016 20:36:04 +0200 (CEST) IronPort-PHdr: 9a23:+RaKPB3pUyhZo9FqsmDT+DRfVm0co7zxezQtwd8ZsekVK/ad9pjvdHbS+e9qxAeQG96Ks7Qc2qGP6fuocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXsq3G/pQQfBg/4fVIsYL+kQsiK3o/ujbv60qaQSj0AvCC6b7J2IUf+hiTqne5Sv7FfLL0swADCuHpCdrce72ppIVWOg0S0vZ/or9ZLuh5dsPM59sNGTb6yP+FhFeQZX3waNDV/38rmugXZShPLrl4dWWUfnx4CS1zA7Rr6V5r19DD9u+Vhwi6CFczwUb0wHz+l6vEvAFXjgSIDcjo4633/i8pqjasdrgjr70h0yovQJYWUL+ZWf6XHfNpcS3AXDehLUCkULoqibodHJu4FJuFAt8Gpq0EH6B2zGhKEAe7zwyRUj3T1m6Y91rJyQkn9wAU8EodW4zzvp9LvOfJXCLjtwQ== Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=dra-news@metastack.com; spf=Pass smtp.mailfrom=dra-news@metastack.com; spf=None smtp.helo=postmaster@outmail149115.authsmtp.co.uk 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=62.13.149.115; 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: Pass (mail2-smtp-roc.national.inria.fr: domain of dra-news@metastack.com designates 62.13.149.115 as permitted sender) identity=mailfrom; client-ip=62.13.149.115; 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@outmail149115.authsmtp.co.uk) identity=helo; client-ip=62.13.149.115; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="dra-news@metastack.com"; x-sender="postmaster@outmail149115.authsmtp.co.uk"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DSAQDzzW5XfXOVDT5cgxGBA30GpUcBAQEGlFWBeyKFdgKBIjkTAQEBAQEBAQERAQELFAlQgjKCGgEBAQMBAzdECwIBCBgKFBAyJQEBBAEaFogKCQMBCccrAQEBBwEBAQEBAQEBH4VghRWEHCaDKoIvBZkBhgiILwqCLYxtj38gA4JsgTVuAQGIAkV/AQEB X-IPAS-Result: A0DSAQDzzW5XfXOVDT5cgxGBA30GpUcBAQEGlFWBeyKFdgKBIjkTAQEBAQEBAQERAQELFAlQgjKCGgEBAQMBAzdECwIBCBgKFBAyJQEBBAEaFogKCQMBCccrAQEBBwEBAQEBAQEBH4VghRWEHCaDKoIvBZkBhgiILwqCLYxtj38gA4JsgTVuAQGIAkV/AQEB X-IronPort-AV: E=Sophos;i="5.26,528,1459807200"; d="scan'208";a="224091634" Received: from outmail149115.authsmtp.co.uk ([62.13.149.115]) by mail2-smtp-roc.national.inria.fr with ESMTP; 25 Jun 2016 20:36:03 +0200 Received: from mail-c232.authsmtp.com (mail-c232.authsmtp.com [62.13.128.232]) by punt22.authsmtp.com (8.14.2/8.14.2/) with ESMTP id u5PIa2Fi024361; Sat, 25 Jun 2016 19:36:02 +0100 (BST) Received: from romulus.metastack.com (114.212-105-213.static.virginmediabusiness.co.uk [213.105.212.114]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id u5PIa0Xr030330 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 25 Jun 2016 19:36:01 +0100 (BST) 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 u5PIZxUe026594 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Sat, 25 Jun 2016 19:36:00 +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.0279.002; Sat, 25 Jun 2016 19:35:59 +0100 From: David Allsopp To: "Soegtrop, Michael" , "caml-list@inria.fr" Thread-Topic: Flexdll circular dependency fix uses system provided flexdll.h [was: opam-cross-windows] Thread-Index: AdHO6zYKgQgikXKpQ+GZmI1MmdjVEAAEC4CgAABn19AAAO7vIAAByBBgAAHntPA= Date: Sat, 25 Jun 2016 18:35:59 +0000 Message-ID: References: <0F7D3B1B3C4B894D824F5B822E3E5A172CF1B3BA@IRSMSX102.ger.corp.intel.com> <0F7D3B1B3C4B894D824F5B822E3E5A172CF1B41D@IRSMSX102.ger.corp.intel.com> <0F7D3B1B3C4B894D824F5B822E3E5A172CF1B4AC@IRSMSX102.ger.corp.intel.com> In-Reply-To: <0F7D3B1B3C4B894D824F5B822E3E5A172CF1B4AC@IRSMSX102.ger.corp.intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.0.29] Content-Type: text/plain; charset="us-ascii" 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-Server-Quench: aab163aa-3b03-11e6-829e-00151795d556 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCd1ZAARAlZZVg1f DC4bFwdFRBksPQFF ChxFJgxfNl8UURhQ KkJXbgASJgdBAnNE XXkJW1VSQFx4U2Bz YQpQIwdcYVRPXwB0 UklLXFNTEBpqBAMA SFsbMmAjd20EeH1w ZkViEHhaX0I0JBcv Q0hXRDwbZjVga30e URVeagtWeVZXfh9E b1F4XXZZZGABKBgV TUcdOz0hMTFbYC9U WAoQKVsICUoGBjM6 Sx0EFiRnE0wVDzgo IgduMU8HAEsUel0o NkUgVV8UexEWBx1S G0ULAE0RFEYIXHhj ChtTWAsVCjpGWmJD AxskJQBTN1QI X-Authentic-SMTP: 61633634383431.1037:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 213.105.212.114/25 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. Subject: RE: [Caml-list] Flexdll circular dependency fix uses system provided flexdll.h [was: opam-cross-windows] Michael Soegtrop wrote: > Dear David, >=20 > > What's your precise sequence of commands (right from untarring or git > clone)? > > Is this from a git clone or a released tarball? >=20 > I use this tarbal: >=20 > https://github.com/ocaml/ocaml/archive/4.03.0.tar.gz >=20 > I try to create a mingw cross ocaml on Cygwin, which I guess is a bit > uncommon. That's the official way of doing it! > My command sequence is: >=20 > < download and untar > https://github.com/ocaml/ocaml/archive/4.03.0.tar.gz > > git clone https://github.com/alainfrisch/flexdll.git > cp config/m-nt.h config/m.h > cp config/s-nt.h config/s.h > cp config/Makefile.mingw64 config/Makefile > make -f Makefile.nt flexdll > make -f Makefile.nt world > make -f Makefile.nt opt > make -f Makefile.nt opt.opt >=20 > I already have a cygqin ocaml installed in the usual paths, I guess this > leads to confusion. Probably I should give a PREFIX=3Dsomething argument = to > make. Indeed - it means you *do* have a system installation of flexdll! It almost= certainly means IFLEXDIR is wrong (though I'm still surprised that you get= -I../byterun from make -f Makefile.nt opt). Presumably that means which fl= exlink from your Cygwin prompt returns something like /usr/bin/flexlink? > If you are interested, I can send you two scripts to setup a clean Cygwin > and reproduce the issue, but I guess with the pointers you gave me, I > should be able to figure it out myself. >=20 > Just two questions: >=20 > 1.) in your .comp files I saw a win32.sh. Where is this from? It doesn't > appear in the 4.03.0 tar ball mentioned above. I'm working on OPAM 2.0, so it's a package rather than a .comp file. win.sh= is a helper script in that package, since embedding the commands for all f= our ports in a single OPAM file gets unreadable very quickly!=20 > 2.) How far is the windows opam and what build environment do you use for > this? Cygwin mingw cross? Should I give it a try? I'm very nearly ready to do an alpha release, but I've been delayed by emer= gency eye surgery this week, which has severely limited the number of hours= I can spend in front of a computer! The version I'm working supports OCaml= 3.07-4.03 using all the native ports (32/64-bit msvc and mingw) built the = official way using Cygwin. David