X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 359F33860017
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1588525818;
	bh=ATB8swCV3IwE3tVUnV0ZEWyAhIi4Q0YH6YBhS7e+OBE=;
	h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=tAJzWbcHnjH6oLCCkUhvgKybpjmE9/p+DCsNbA6pLjXm9cTxxJ4WzAfEDm9TNGxJs
	 vAPUZRCRILcYo50hz4BCrX9hwfWurQA/g3KkrDdMsCLdzxRUoy2Y2H1vFZCqdCVdMR
	 mhiPyQwOOG2+qZl+pcz4fqo3lVvgp3mLfkJjm3uo=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 07F1E3851C06
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=hp1uaD34Jj4pdCt+ZB2mOMWRetfTjuBC2AnC9eelWlg=;
 b=F133iqxKVSZYSX/kEkdt2Eaz0eexSeDYO36EyGRy7znbaodzpRLr5NAT0+HboA75yo
 GnYjM5cZBrQqHt1zYl7TDB2g71mEwF0+Hz1xjjV6qniA8xmCpS/42QMpqYdIdzX61KU6
 Z0mixz/Dej7Rdp0ExWVVIPLNRgb4P6agIdY04RYzxoyW2OsSnMBkE2veszyWtKDv9TlD
 PqJje6DGuiqM/Go3ItIOvg3WrsfxCnxAmwtMLEbrMLRmBxRFiq83IQWUnbEjQ7kx4QVc
 XVrFaO8eF+6n8Kkql9tHWZg794Ol+JhAx9xlQK6HibQwNCbdVkAFVlr0+83JAUAIg6tt
 QRzg==
X-Gm-Message-State: AGi0PuZsZIXIcrPHWZR9na+s+ieD96YZT5+lO2x0XAbzR1lxdwjinvXx
 0XsVP0sqozIaIj3YybJ+M/qh1hIOPCJ+0g60fTU=
X-Google-Smtp-Source: APiQypL+KPsibbcSaHm7HRZF63kTmmiOm/SDFQv5xUnc23L4mHdna4pPmNffKtwEo4OrBjB4oEHutCuu08hGTqtExKA=
X-Received: by 2002:a67:f957:: with SMTP id u23mr10073414vsq.146.1588525814510; 
 Sun, 03 May 2020 10:10:14 -0700 (PDT)
MIME-Version: 1.0
References: <CAJzZnfSXeWH268HqXDi91RBi+B0Ujky3=yL48QcNehBjLuj+sw@mail.gmail.com>
 <CAHvU03W5JgkWWMW7h8GJva=TbQv8apxEXuguEPu_aSrwL7WNOA@mail.gmail.com>
 <CAJzZnfRwMhFdT9XH-g_XAV=eCNgYQJnKSoonxuJ1znRbFmijTQ@mail.gmail.com>
 <CAHvU03VQxx2_tXhjP3SyZC6XTaRZv8ug6zSO2i0b-94QRgtn3A@mail.gmail.com>
 <ba58194f-d8e9-e1c0-aa4f-4b0434e4f9fa@cs.umass.edu>
In-Reply-To: <ba58194f-d8e9-e1c0-aa4f-4b0434e4f9fa@cs.umass.edu>
Date: Sun, 3 May 2020 19:09:49 +0200
Message-ID: <CAHvU03XxVHkGAz9kujeNNca=p2ZXyG73Wzm=gtcpF6jBJyff=g@mail.gmail.com>
Subject: Re: help compilation qemu
To: moss@cs.umass.edu
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
 RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Maarten Hoes via Cygwin <cygwin@cygwin.com>
Reply-To: Maarten Hoes <hoes.maarten@gmail.com>
Cc: cygwin <cygwin@cygwin.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

Hi,

On Sun, May 3, 2020 at 4:54 PM Eliot Moss <moss@cs.umass.edu> wrote:

> On 5/3/2020 8:52 AM, Maarten Hoes via Cygwin wrote:
> > Hrm.
> >
> > That's odd. I just installed MSYS2 and followed the instructions provided
> > in the QEMU wiki for MSYS2, and all preparatory steps of running
> > msys2/pacman/git/configure (only excluding the actual 'make' for
> > compilation) work as expected. There must be a difference between our
> > setups/steps/configurations if that doesn't work for you.
>
> I can imagine issues with both MSYS and Cygwin installed, if the order
> of things on paths is not right, e.g., getting the Cygwin version of
> something when trying to run MSYS, or vice versa.
>
> Maybe try to make sure, when building qemu under MSYS, that no Cygwin
> things are in your path?
>
> Best wishes -- Eliot
>


Good point. I tried to verify that, so I did


[1a]
On a cygwin prompt
echo $PATH | grep -i msys

[1b]
On a msys prompt
echo $PATH | grep -i cyg


And got no conflicting results. (msys is not in the cygwin path, and cygwin
is not in the msys path).


[2]
'mount' only showed cygdrive on a cygwin prompt, and only msys on a msys
prompt


[3]
Looked for a 'msys' string in a random binary in the path:

[3a]
On a msys prompt:
strings `which ls.exe` | grep -i msys

gave me msys hits.


[3b]
on a cygwin prompt:
strings `which ls.exe` | grep -i msys

gave me no hits.



So it at least appears to me that the environments are not conflicting for
me personally. Of course, that could very well be the case for the error
results of the original poster.

PS:
if anyone knows of better tests/checks to see if the environments are
intermingled in some way, I'd love to hear it.



- Maarten
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
