delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/07/09:20:16

Date: Tue, 7 Jan 1997 16:00:27 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Tavazzani Paolo <tavazzan AT ic86i10 DOT settimo DOT italtel DOT it>
cc: DJGPP Mailing List <djgpp AT delorie DOT com>
Subject: Re: Recursive make
In-Reply-To: <9701071052.AA21728@ic86i10.settimo.italtel.it>
Message-ID: <Pine.SUN.3.91.970107155100.27480E-100000@is>
MIME-Version: 1.0

On Tue, 7 Jan 1997, Tavazzani Paolo wrote:

> Whenever I try to execute make in a subdirectory, es:
> 
> target : dir1
> 	cd dir1 ; make all
> 
> make fails saying that he is unable to open temporary file w:/xxx/yyy/dj000000

Is it Make 3.75?  If not, get and install v2gnu/mak375b.zip from SimTel, 
since earlier ports of Make don't support multiple commands separated by 
`;'.  Alternatively, change the above rule to this:

	target: dir1
		cd dir1
		make all

or this:

	target: dir1
		make -C dir1 all

which will also work with DJGPP ports of GNU Make before 3.75.

> The same happened when compliling GNU Shell Utils when the makefile tries
> to generate some .c files by making a sed and redirecting output using '>'.
> I was able to bypass the problem using the redir command.

If that was the Sh-utils 1.12 ported to DJGPP, then the file README.dos 
in the distribution clearly says that you need Make 3.75 to build it.  If 
you already have Make 3.75, please post the exact error message printed 
when you try to build the distribution.

> I usually work with DOS 5.0 and DJGPP V2 (it should be a fairly recent update)
> and COMMAND.COM as a shell.

Is that DJGPP v2.0 or v2.01?  Please make sure that you use v2.01 and 
Make 3.75, or else the latest GNU utilities won't build correctly.

Btw, if you only need the sh-utils themselves, you can get the 
pre-compiled binaries (v2gnu/shl112b.zip) from SimTel.

- Raw text -


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