delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/10/24/07:23:53

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 77246385840C
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=towo.net
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo.net
Message-ID: <d2196ad1-6cd7-2630-4e55-75dca4abedf3@towo.net>
Date: Mon, 24 Oct 2022 13:21:27 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.13.1
Subject: Re: Make: Issue with $(MAKE) in make includes, when make is not on
the default path
To: cygwin AT cygwin DOT com
References: <1b887e39-0f3c-9e8c-7baa-a0ed180b8307 AT gmail DOT com>
<CAB8Xom9uEac3ye4A5ESX3zRYaOQUgx=YOMubKaSQu+JNfJySdQ AT mail DOT gmail DOT com>
From: Thomas Wolff <towo AT towo DOT net>
In-Reply-To: <CAB8Xom9uEac3ye4A5ESX3zRYaOQUgx=YOMubKaSQu+JNfJySdQ@mail.gmail.com>
X-Provags-ID: V03:K1:evSL7SLNmsvoibA4Osh0U+j/vtYhDEz6BA84by5v51Bzeq0csM5
YcHijFIvXaBZ0xb3x49MmK7cyIRG3476RgpNzitOwvWNwNfYb7+aRerIHi6Rop9zkKrnimL
1txt7KTHNa8OTV9MatomH5954FSSAOP8FuqrydqOHYK4JOae6dbnTJdNi9KWDkWsZbTCvIO
wkNtkqnw8iQC+aRZ7hh8w==
X-UI-Out-Filterresults: notjunk:1;V03:K0:3kkLPmDvAEY=:onFD4PGff71IgNPZ/5SYnC
F4ypF8yonm7c9y0361lt9U9Cyl5dlA9e6apdT+Z4NeT+lXmSSgeT7CUhvlHZEaEQETA56yPMb
frRfqct46a8LnWMbpfIdRmKb6B5oYipfHQYAI5Zkbrb/hZ181wRm1B5UDtHOdO2pUle0a2ps6
cz4g+mPcyqBqkUKEawIgDVyFqzMpUz85QMGYrpZZAogDWF93I1BFHMOJUxZoxepc9QlU4gVKY
2BoIDFm43bLBJdCo41fiK1UfONNHcJwG3GTSp5VqEfIVwLP+DIlZwNWTykZ+nLn2+UBMXT7qL
+DxHUa20VSOApqJgZDNZPy0I2KdxSS1PV5EQp561ruNKZAIurYJAVXqkByVxKY+dIKaGOR3HK
9pK0rXkG7KVofK5bB5gks3p2zBCyUd4qvuUPSzQHlwHqLLo9CV+QbNJz8aVPt2pmzM9nlv6kA
s5EixFiC+QxOcIPZO8bGNmGOZxZKy71jkA/hd9fx+TQt1ZPV/Rt/7BU+IMcEeuYSdTGxvkY3t
7wVjwAPBHaUXC9BLqjOTQPF4pTtVXIZhmZy8MgsudsESGyxD47xkFkXYvF9hJF4ayfa0mrTvs
y1HekYIZypFYgdV/COJLEvP9mfrPgJw/u5qq78OTsWYy74VgQ+hBPZa4URDgNfGNGLPnaFsmt
VJ2SODV+6TL4/WF3/Xi85WUQfMFgsBvDQQwN7SJy886AbtU3s/enrJaWqMmK9ykM1sHja197I
Z+atuR/9yixwTIwiQLL3po5WnnKc1BA+M1UJeaqqFKy5ww150OjBvIq1B2B+qgQPbri5Sfyyu
19I7tCA
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,
SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>


Am 24/10/2022 um 11:36 schrieb marco atzeri:
> On Sun, Oct 23, 2022 at 7:27 PM Ferenc Valenta <ferenc DOT valenta AT gmail DOT com> wrote:
>>
>> Hi,
>>
>> Just found a possible issue with Cygwin:
>> If cygwin is not on the default path, and make is started by specyfing
>> the path to it (e.g., c:\cygwin64\bin\make), $(MAKE) works in the
>> top-level makefile, but it does not work in make includes.
>> To reproduce the issue, use these files:
>>
>> makefile:
>> $(info $(shell $(MAKE) --version))
>> include test.mak
>>
>> test.mak:
>> $(info $(shell $(MAKE) --version))
>>
>> Make sure that Cygwin is not on the default path, e.g. type *path ;* to
>> erase the default path entirely.
>> Then start make by specifying the path to it: c:\cygwin64\bin\make
>>
>> The first $(MAKE) call works, the second one does not.
>> If make is on the default path, both work.
>>
>> Best regards,
>>
>> --
>> Ferenc Valenta / System Architect / Mentor Graphics Deutschland
This works as expected when calling /bin/make or C:/cygwin64/bin/make ;
the problem is the backslash notation.

>
> Hi Ferenc,
>
> I doubt this should be considered a specific Cygwin bug or a bug at all
>
> Marco
>


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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