From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30090 invoked by alias); 6 Jun 2013 16:25:46 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 30069 invoked by uid 89); 6 Jun 2013 16:25:46 -0000 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 Received: from etr-usa.com (HELO etr-usa.com) (130.94.180.135) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 06 Jun 2013 16:25:18 +0000 Received: (qmail 40524 invoked by uid 13447); 6 Jun 2013 16:25:15 -0000 Received: from unknown (HELO [172.20.0.42]) ([107.4.26.51]) (envelope-sender ) by 130.94.180.135 (qmail-ldap-1.03) with SMTP for ; 6 Jun 2013 16:25:15 -0000 Message-ID: <51B0B7E8.6000501@etr-usa.com> Date: Thu, 06 Jun 2013 16:25:00 -0000 From: Warren Young 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 Subject: Re: How does make determine which shells to invoke when executing external commands? References: <51AF6A55.2090203@etr-usa.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2013-06/txt/msg00094.txt.bz2 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