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: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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-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: <51AF6A55 DOT 2090203 AT etr-usa DOT com> Date: Wed, 5 Jun 2013 20:43:37 -0600 Message-ID: Subject: Re: How does make determine which shells to invoke when executing external commands? From: Hua Ai To: cygwin AT cygwin DOT 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