delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/07/10/11:20:14

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Mon, 10 Jul 2006 16:17:08 +0200
From: Gisle Vanem <giva AT bgnett DOT no>
Subject: $LFN and make
To: djgpp <djgpp AT delorie DOT com>
Message-id: <11a501c6a42b$878dbd40$0100a8c0@broadpark.no>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-Mailer: Microsoft Outlook Express 6.00.2900.2869
X-Priority: 3
X-MSMail-priority: Normal
Reply-To: djgpp AT delorie DOT com

I have some problems running a makefile with LFN=y set. This snippet:

AS    = as.exe
path_find = $(wildcard $(addsuffix /$(1),$(subst ;, ,$(subst \,/,$(PATH)))))

ifeq ($(call path_find,$(AS)),)
chk_as:
        @echo \"$(AS)\" not found on path. Edit Makefile manually.
endif

doesn't find e:\djgpp\bin\as.exe even when "e:\djgpp\bin" is in my PATH.
With "LFN=n" everything is working fine. Any clues?

I'm using djgpp 2.03 and
GNU Make version 3.79.2a1, by Richard Stallman and Roland McGrath.
Built for i386-pc-msdosdjgpp

--gv

- Raw text -


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