X-Recipient: archive-cygwin@delorie.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:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; q=dns; s=default; b=PZ
	rE5z7kpRUJvr5WnTR8PsXmUfDx5ECiKnbnaoHIbKK6jU08jrnllhRzXPsKaB4aW+
	518z2vZzNTNJd5Ch3xIH0o5+riUjIOQdy9Rj1DAaBxl1R/kj8WBRzgt+2LF4AO5A
	M0ghEp7OB3cO1jLOZGkdAnwipjwiFxrbDwOWoC88w=
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:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; s=default; bh=EY6JuBo6
	9W09CahWZkNjiZ6OKBc=; b=q4v/FXfxpoeSZ0RgcB/2+YrTS83vpI9g5uIp26wo
	sJVQEqDZHav2mQ8+l7mql/8iVrmvA385hlm+HMC3/CdMDSKHvo7Xb+uh98Mf12s5
	uycqXuTcBHHkV2FR4aWlCrhcEE3eTQclhv2vQjKW+v8LkchiDtUzmg7Om+psEx5/
	/Jk=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1
MIME-Version: 1.0
X-Received: by 10.68.17.8 with SMTP id k8mr17895143pbd.102.1370486617227; Wed, 05 Jun 2013 19:43:37 -0700 (PDT)
In-Reply-To: <51AF6A55.2090203@etr-usa.com>
References: <CAPzB_RzA3LBR8QKZA0NT6UJmkt6dr=qHj-s85RmY2xAd4K3KAQ@mail.gmail.com>	<51AF6A55.2090203@etr-usa.com>
Date: Wed, 5 Jun 2013 20:43:37 -0600
Message-ID: <CAPzB_RxkcD1ypzHe8j9EZBfV96VSkd3=ce-dywSdzby+mWt6_A@mail.gmail.com>
Subject: Re: How does make determine which shells to invoke when executing external commands?
From: Hua Ai <tommy.ai@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1

Hi Warren,

Thank you for your reply.

>
> The answer is in the GNU make docs, or in the O'Reilly book if you prefer.
>

Will check it out, I thought this is a cygwin issue since windows
commands were invoked.

>
> That means those computers have a native Windows version of GNU make on
> them, most likely the one from MinGW.  MinGW GNU make is built to use
> cmd.exe to interpret shell commands, not /bin/sh as Cygwin's GNU make does
> by default.

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).

This makefile however was run from a standalone cygwin.

I will do a little bit more digging tomorrow and come back with my
findings. More suggestions will be greatly appreciated.

Thanks,
Hua

--
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

