www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
q=dns; s=default; b=Qg8WG3QEVg0JcJ1YKQeNRI80seBmeDKGmJDH9l2GDnA | |
2NzKtAQes1dM3ag8NRGcAqd1elw3NX5ZeZBhB0GIEpKpp2zkS3QjwEpN576LvZop | |
pklnA4HyH/6uLvlPWq4yoxpaSmIBo2eP29XoyjsGfjiKeKBEum1xwxtFo1ZNTdv0 | |
= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
s=default; bh=HBWbqtQjVqCwzZbYbSGgxp8QYV8=; b=qcfRAjUmwKJxskvJX | |
3nMS36lgnKIc6lSYp8JXt7AWamKZ+csCSaGefquPZlw4stg4oOwdbP3RIA/AuY5h | |
9TlHleVj3TZ05IdlKWlW82tLPYXjZyzLPVH2EULmSpT+Wst8+PCIiC9o2okqP8QU | |
TF8KsdJFw0VP4OLeTxLSrnV1Wo= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Spam-SWARE-Status: | No, score=-3.0 required=5.0 tests=AWL,BAYES_40,KHOP_THREADED,RP_MATCHES_RCVD autolearn=ham version=3.3.1 |
Message-ID: | <51B0B7E8.6000501@etr-usa.com> |
Date: | Thu, 06 Jun 2013 10:25:12 -0600 |
From: | Warren Young <warren AT etr-usa DOT com> |
User-Agent: | Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
MIME-Version: | 1.0 |
To: | Cygwin-L <cygwin AT cygwin DOT com> |
Subject: | Re: How does make determine which shells to invoke when executing external commands? |
References: | <CAPzB_RzA3LBR8QKZA0NT6UJmkt6dr=qHj-s85RmY2xAd4K3KAQ AT mail DOT gmail DOT com> <51AF6A55 DOT 2090203 AT etr-usa DOT com> <CAPzB_RxkcD1ypzHe8j9EZBfV96VSkd3=ce-dywSdzby+mWt6_A AT mail DOT gmail DOT com> |
In-Reply-To: | <CAPzB_RxkcD1ypzHe8j9EZBfV96VSkd3=ce-dywSdzby+mWt6_A@mail.gmail.com> |
On 6/5/2013 20:43, Hua Ai wrote: > I thought this is a cygwin issue since windows > commands were invoked. Cygwin make should *always* be using /bin/sh to interpret commands, unless you've overridden it with SHELL. Type this into a Makefile: all: @echo Shell is $(SHELL) Then say "make" in that directory. It should confirm my assertion. If it tells you something different on a problem machine, say "make --version" and verify that it says "Built for i686-pc-cygwin". > We don't have MinGW, but we do have multiple versions of a software > (development tools from Altera) installed on these computers, which > all contains a copy of cygwin (different versions but all with make). Are you *certain* Altera is shipping Cygwin GNU make and not MinGW make? Either way, you're kind of in a bind. If Altera is shipping MinGW GNU make, you have the conflict I originally proposed. If they are in fact shipping Cygwin, you have this problem: http://www.cygwin.com/faq.html#faq.using.multiple-copies (Items 4.19 through 4.23.) > This makefile however was run from a standalone cygwin. What does it say when you say "which make"? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |