delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/10/24/05:38:20

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 CA3BA385840A
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:from:to:cc:subject:date:message-id:reply-to;
bh=bUAO5znRp8Kn6NTrWIuOT5AgDaKpDBQoIkL04lhMz+U=;
b=JMZTVCUz6oO6ZMNKTcPBbzU/4uAUImPY3QtSrwSTZinj54r2KrQV+2+4jnOoIQfb7i
kgu139tUrkPenEBRCSyF9qyl2DNMfCBL1zPBO8cfaLbFjn5wP5jr1P5Z1IVbrymqy9To
3C4eFt6PFsoIYUYm/pqZSJFMbeVLqcm9QIs6fF7VsO8S6jVbsgmL1gkfuOdrCx6c/rpL
t3ACWE6Ue5S5DKYfM747ELKIlVxtC5iD92JIj8S+HYXXE7NdzRaLKHVvOpQ139gHn3eO
5+YdRK9/eI/w4AhTCviWKMbta/CiLVta+YrdBnCUW5w5Ft1mSmgnZNAK0kMiduVRzUNX
+0eQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=bUAO5znRp8Kn6NTrWIuOT5AgDaKpDBQoIkL04lhMz+U=;
b=qsxrpK4XHe7ojuXF7wbHYKG7RGnOc5QEnuOJZ4R4D+L0hb2c11dmiUcGWU7OZ39FuF
Obcra8BpidCY0d3U5A41cAXnot+oa1/qPr5xLpN3NOVU+mAUTQrDI29N44sYXsG8Ptyz
KfhSacUSMix3wkBnh1RJfkIwE1bzgtfPqcsDcZzp8ayiNAUnx60CLexAyWcDg9rzk/x4
dDrCQzbjA2xN49fBX65PhyZbnDU9v20wTOViU77oMnBfwHNQ00M0i52RNlL1YhY33sBU
JPfgDItj6KpXml6ZsE4Yw5J46h2HN43Btapy02iIjFuwEd+xzwqNDgRYEkZ5Rv3moJGZ
VOBg==
X-Gm-Message-State: ACrzQf2jkyZuuk2NTgREKAz8vbvYQ3mMFWEoOhC7Zze1sHAiXwJfeyaB
9xxW2rxpuabgUjn/cmJDF/VjBdyAHTqqyawTekFfN2iW
X-Google-Smtp-Source: AMsMyM5ShM95+5R/ip2Fa5NIzSulqezEE45q52IxqFKEu1Hr/kEWM7U5ijxdy7U/+DlMYLvH1RL29PM5z4GhSJ7y1r8=
X-Received: by 2002:a05:6870:3488:b0:12c:19b0:f4bc with SMTP id
n8-20020a056870348800b0012c19b0f4bcmr36098370oah.238.1666604205965; Mon, 24
Oct 2022 02:36:45 -0700 (PDT)
MIME-Version: 1.0
References: <1b887e39-0f3c-9e8c-7baa-a0ed180b8307 AT gmail DOT com>
In-Reply-To: <1b887e39-0f3c-9e8c-7baa-a0ed180b8307@gmail.com>
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
Date: Mon, 24 Oct 2022 11:36:35 +0200
Message-ID: <CAB8Xom9uEac3ye4A5ESX3zRYaOQUgx=YOMubKaSQu+JNfJySdQ@mail.gmail.com>
Subject: Re: Make: Issue with $(MAKE) in make includes, when make is not on
the default path
To: Ferenc Valenta <ferenc DOT valenta AT gmail DOT com>
X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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-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>
Cc: cygwin AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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
>

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