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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 160257EEF8 for ; Wed, 15 Jul 2015 13:41:00 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of alain.frisch@lexifi.com) identity=pra; client-ip=85.233.204.164; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="alain.frisch@lexifi.com"; x-sender="alain.frisch@lexifi.com"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of alain.frisch@lexifi.com) identity=mailfrom; client-ip=85.233.204.164; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="alain.frisch@lexifi.com"; x-sender="alain.frisch@lexifi.com"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mx20.yaziba.net) identity=helo; client-ip=85.233.204.164; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="alain.frisch@lexifi.com"; x-sender="postmaster@mx20.yaziba.net"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AkAQB7RaZVm6TM6VVbxTmCVAKBQkwBAQEBAQESAQEBAQEGCwsJIS6EJAEBBDgvERELDgoJDQEIDwkDAgECATcBDQYBDAgBAYguz2cBAQgBAQEBHotMhQ0SAYQYAQSFXo5fiVuCM4hFkC8CgQmDG4FzBxeBJwEBAQ X-IPAS-Result: A0AkAQB7RaZVm6TM6VVbxTmCVAKBQkwBAQEBAQESAQEBAQEGCwsJIS6EJAEBBDgvERELDgoJDQEIDwkDAgECATcBDQYBDAgBAYguz2cBAQgBAQEBHotMhQ0SAYQYAQSFXo5fiVuCM4hFkC8CgQmDG4FzBxeBJwEBAQ X-IronPort-AV: E=Sophos;i="5.15,479,1432591200"; d="scan'208";a="140056928" Received: from mx20.yaziba.net ([85.233.204.164]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 15 Jul 2015 13:40:59 +0200 Received: from mta10.int.yaziba.net (unknown [10.4.20.30]) by mx20.yaziba.net (mx10.yaziba.net) with ESMTP id 983781A7462; Wed, 15 Jul 2015 13:40:58 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mta10.int.yaziba.net (Postfix) with ESMTP id 9FEC513D420; Wed, 15 Jul 2015 13:40:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at mta10.int.yaziba.net Received: from mta10.int.yaziba.net ([127.0.0.1]) by localhost (mta10.int.yaziba.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vDDn-BPvLqdd; Wed, 15 Jul 2015 13:40:58 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mta10.int.yaziba.net (Postfix) with ESMTP id 7A03714567D; Wed, 15 Jul 2015 13:40:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at mta10.int.yaziba.net Received: from mta10.int.yaziba.net ([127.0.0.1]) by localhost (mta10.int.yaziba.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id BqbGUlcO2T3t; Wed, 15 Jul 2015 13:40:58 +0200 (CEST) Received: from [10.0.48.88] (unknown [185.23.92.144]) by mta10.int.yaziba.net (Postfix) with ESMTPSA id 5167414567B; Wed, 15 Jul 2015 13:40:58 +0200 (CEST) Message-ID: <55A646CA.8050605@lexifi.com> Date: Wed, 15 Jul 2015 13:40:58 +0200 From: Alain Frisch Organization: LexiFi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: David Allsopp , OCaml List References: <003401d0be52$320d6a00$96283e00$@metastack.com> In-Reply-To: <003401d0be52$320d6a00$96283e00$@metastack.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-DRWEB-SCAN: ok X-VRSPAM-SCORE: -100 X-VRSPAM-STATE: legit X-VRSPAM-CAUSE: gggruggvucftvghtrhhoucdtuddrfeekvddrheelgdeggecutefuodetggdotefrucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpjgetkgfkueetnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkfffhohgfggfvufhfjggtgfesthejrgdttdefheenucfhrhhomheptehlrghinhcuhfhrihhstghhuceorghlrghinhdrfhhrihhstghhsehlvgigihhfihdrtghomheq X-VRSPAM-EXTCAUSE: mhhouggvpehsmhhtphhouhht Subject: Re: [Caml-list] Building MSVC ports: coreutils link conflict On 07/14/2015 06:28 PM, David Allsopp wrote: > As far as I'm aware, when started in the usual way as a login shell, > Cygwin's bash will always prefix PATH /usr/local/bin:/usr/bin:$PATH ... so I > was surprised to find no mention of this issue in the build instructions - > is it simply that everyone who builds the MSVC port just curses at this > point, alters their PATH and carries on, or is there an alternate, better > way of setting up the build environment? FWIW, the way we (=LexiFi) work is that our .bashrc/.bash_profile scripts are responsible for setting up the LIB and DIR env variables for MSVC and prepending the correct directories in front of the PATH. (They also define aliases to switch between the 32- and 64-bit toolchains.) We don't rely on .bat files shipped by Microsoft. It's true that it had become messy to support various versions of Visual Studio and of Windows SDK, but we still prefer to know exactly how the environment is set up. Alain