delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/05/22:44:01

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: <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=-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 AT mail DOT gmail DOT com> <51AF6A55 DOT 2090203 AT etr-usa DOT 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 DOT ai AT gmail DOT com>
To: cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019