[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sat, 8 May 2004 12:27:02 +0200
This snippet from one of my makefiles:
AS = as.exe
path_find = $(wildcard $(addsuffix /$(1),$(subst ;, ,$(PATH))))
ifeq ($(call path_find,$(AS)),)
@echo \"$(AS)\" not found on path. Edit Makefile manually.
works fine when $LFN=n. I.e. set before make is run.
e:\djgpp\bin\as.exe is the only as.exe in my $PATH.
But with no $LFN set (and "+LFN=y" in djgpp.env), my 'path_find' function
fails to find as.exe. Why could that be? My $PATH is nothing special; no
paths with spaces and only short 8-3 names.
> make -v
GNU Make version 3.79.2a1, by Richard Stallman and Roland McGrath.
Built for i386-pc-msdosdjgpp
Running in a Win-XP DOS-box.
|[Prev in Thread]
||[Next in Thread]|
- make 3.79/djgpp,
Gisle Vanem <=