From owner-ntemacs-users@june  Wed Jan 29 11:39:25 1997
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Wed" "29" "January" "1997" "14:02:01" "-0500" "David Biesack" "sasdjb@unx.sas.com" nil "26" "compile.el and nmake on NT" "^From:" nil nil "1" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with SMTP id LAA06210 for <voelker@june.cs.washington.edu>; Wed, 29 Jan 1997 11:39:22 -0800
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id LAA23641 for <voelker@joker.cs.washington.edu>; Wed, 29 Jan 1997 11:39:20 -0800
Received: from lamb.sas.com (lamb.sas.com [192.35.83.8]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with SMTP id LAA02957 for <ntemacs-users@cs.washington.edu>; Wed, 29 Jan 1997 11:02:19 -0800
Received: from mozart by lamb.sas.com (5.65c/SAS/Gateway/01-23-95) 	id AA00495; Wed, 29 Jan 1997 14:02:17 -0500
Received: from lambda.unx.sas.com by mozart (5.65c/SAS/Domains/5-6-90) 	id AA24443; Wed, 29 Jan 1997 14:02:02 -0500
Received: by lambda.unx.sas.com (5.65c/SAS/Generic 9.01/3-26-93) 	id AA03899; Wed, 29 Jan 1997 14:02:01 -0500
Message-Id: <199701291902.AA03899@lambda.unx.sas.com>
From: David Biesack <sasdjb@unx.sas.com>
To: ntemacs-users@cs.washington.edu, gnu.emacs.help@unx.sas.com
Subject: compile.el and nmake on NT
Date: Wed, 29 Jan 1997 14:02:01 -0500


Does anyone have some wrappers/patches for using Microsoft nmake.exe
with M-x compile such that it handles directory tracking ala GNU make -w
option?

We have some nmake scripts which do cross directory builds on NT and I'd
like M-x next-error to process the relative pathnames correctly.  I have
left compilation-leave-directory-regexp and
compilation-enter-directory-regexp as is and actually added some

	@echo : Entering directory `$(ROOT)'

	@echo : Leaving directory `$(ROOT)'

statements to the build script and it partially works, but it does
require makefile changes instead of being support automatically by
make.

Another option would be to modify compilation-parse-errors to
recognize all cd command and "interpret them" without doing the dirstack
manipulation. Does anyone have such a patch?

(Yes, I'd rather use GNU make but there are quite a few others working
on the project and I can't convince everyone to switch.)

thanks

