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 65F327FEEB for ; Sun, 26 Jun 2016 14:57:34 +0200 (CEST) IronPort-PHdr: 9a23:XzLV1hfEbb3rbXD0w6lzHZqNlGMj4u6mDksu8pMizoh2WeGdxc+6Yx7h7PlgxGXEQZ/co6odzbGH6+a5ASdQvN6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JXvkbnqsM2OKyxzxxOFKYtoKxu3qQiD/uI3uqBFbpgL9x3Sv3FTcP5Xz247bXianhL7+9vitMU7q3cY6Lod8JtsWLv7c+wRSbhDCyw+ezQ5/sSusxTcViOK62cVSXkfmRkOCA/AulWyFJz4ty+/sutmxAGbO9f3RPY6Q37qu6xiTRutjCYcKxY49nvWg4p+lvQIjgimokk1+InZb52PM+I6NobcdtMTSG4LFpJUVidBC464KZAIAuUdJ+FAh4j7u1YK6xC5AF//V6vU1jZUiyqujuUB2OM7HFSe0Q== Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=michael.soegtrop@intel.com; spf=Pass smtp.mailfrom=michael.soegtrop@intel.com; spf=None smtp.helo=postmaster@mga02.intel.com Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of michael.soegtrop@intel.com) identity=pra; client-ip=134.134.136.20; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="michael.soegtrop@intel.com"; x-sender="michael.soegtrop@intel.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of michael.soegtrop@intel.com designates 134.134.136.20 as permitted sender) identity=mailfrom; client-ip=134.134.136.20; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="michael.soegtrop@intel.com"; x-sender="michael.soegtrop@intel.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@mga02.intel.com) identity=helo; client-ip=134.134.136.20; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="michael.soegtrop@intel.com"; x-sender="postmaster@mga02.intel.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CeAAAS0W9XhxSIhoZbhBR9BrolgXsahX4CgSE4FAEBAQEBAQEBEQEBAQgNCQkhL4IyghoBAQEDAToPNQsCAQgOFBQQMiUCBAEaiCAHAccpAQEBBwEBAQEBAQEghimETIRCgyqCLwWNe4VShS4GAZ1aj38egk8igTVuiFkBfgEBAQ X-IPAS-Result: A0CeAAAS0W9XhxSIhoZbhBR9BrolgXsahX4CgSE4FAEBAQEBAQEBEQEBAQgNCQkhL4IyghoBAQEDAToPNQsCAQgOFBQQMiUCBAEaiCAHAccpAQEBBwEBAQEBAQEghimETIRCgyqCLwWNe4VShS4GAZ1aj38egk8igTVuiFkBfgEBAQ X-IronPort-AV: E=Sophos;i="5.26,531,1459807200"; d="scan'208";a="224156047" Received: from mga02.intel.com ([134.134.136.20]) by mail2-smtp-roc.national.inria.fr with ESMTP; 26 Jun 2016 14:57:24 +0200 Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP; 26 Jun 2016 05:57:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,531,1459839600"; d="scan'208";a="835423138" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by orsmga003.jf.intel.com with ESMTP; 26 Jun 2016 05:57:21 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.10]) by IRSMSX152.ger.corp.intel.com ([169.254.6.247]) with mapi id 14.03.0248.002; Sun, 26 Jun 2016 13:57:20 +0100 From: "Soegtrop, Michael" To: David Allsopp , "caml-list@inria.fr" Thread-Topic: Flexdll circular dependency fix uses system provided flexdll.h [was: opam-cross-windows] Thread-Index: AdHO6zYKgQgikXKpQ+GZmI1MmdjVEAAEC4CgAABn19AAAO7vIAAByBBgAAHntPAAHlelAA== Date: Sun, 26 Jun 2016 12:57:19 +0000 Message-ID: <0F7D3B1B3C4B894D824F5B822E3E5A172CF1B59F@IRSMSX102.ger.corp.intel.com> References: <0F7D3B1B3C4B894D824F5B822E3E5A172CF1B3BA@IRSMSX102.ger.corp.intel.com> <0F7D3B1B3C4B894D824F5B822E3E5A172CF1B41D@IRSMSX102.ger.corp.intel.com> <0F7D3B1B3C4B894D824F5B822E3E5A172CF1B4AC@IRSMSX102.ger.corp.intel.com> In-Reply-To: Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: RE: [Caml-list] Flexdll circular dependency fix uses system provided flexdll.h [was: opam-cross-windows] Dear David, > Indeed - it means you *do* have a system installation of flexdll! You are right: $ which flexlink /usr/bin/flexlink $ find /usr -name "flexdll.h" /usr/include/flexdll.h I was just checking the flexdll.h, and it is at a place where the mingw gcc= doesn't find it, but of cause flexlink itself is in the path, so it is fou= nd by the cross build and messes it up. The following "fixes" it: sed -i "s|FLEXLINK_CMD=3Dflexlink|FLEXLINK_CMD=3D../flexdll/flexlink|" = config/Makefile I think the makefile should be made such, that the build local flexlink is = prefered, if it is there. One more question: how is this supposed to work with a native Cygwin build?= For doing my initial native Cygwin build of ocaml, which I then use to bui= ld opam, I use a normal configure make process, but I do it twice and buil= d flexlink in between. I didn't find a way to convince configure that flexl= ink is there, when it isn't, and obviously I need to do configure before I = do make. Also a make flexlink results in a "nothing to do" after configure. ./configure -no-shared-libs make world.opt make install < make + install flexlink > ./configure make world make opt make opt.opt make install Thanks for the help! Best regards, Michael Intel Deutschland GmbH Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Christian Lamprechter Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928