www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2022/03/13/14:45:24

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Robert Riebisch (Robert DOT Riebisch AT arcor DOT de) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Obscure (?) Makefile syntax
Date: Sun, 13 Mar 2022 19:27:10 +0100
Organization: none
Lines: 22
Message-ID: <t0ld21$jbe$1@dont-email.me>
Mime-Version: 1.0
Injection-Date: Sun, 13 Mar 2022 18:27:13 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1018bd579fc72e6db1d6ecac86d6b0f9";
logging-data="19822"; mail-complaints-to="abuse AT eternal-september DOT org"; posting-account="U2FsdGVkX18AkGMStmmdXKqcJM4wUS1V"
Cancel-Lock: sha1:l6Ok5P6mTfsRoe+A5J8wdsjJZlo=
Bytes: 1474
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi all,

let's go a "few" years back in time... into 2002. *g*

In a Makefile I found this line:
copy /B $(DJGPP:\DJGPP.ENV=)\bin\pmodstub.exe+a foo.exe

This fails with 'Path not found' on my Windows XP system, because it
resolves to:
copy /B c:\djgpp\djgpp.env\bin\pmodstub.exe+a foo.exe

That 'djgpp.env\' is the culprit.

I mean, it's clear, what this line is intended to do, but I've never
seen this line before.

Why does it not work on my system?
How to make it work? Do I need the change some setting on my system?
(Yes, I already know how to work around, but I'm curious.)

-- 
Robert Riebisch

- Raw text -


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