delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
Date: | Sat, 29 May 2004 13:14:06 +0200 |
From: | "Eli Zaretskii" <eliz AT gnu DOT org> |
Sender: | halo1 AT zahav DOT net DOT il |
To: | djgpp AT delorie DOT com |
Message-Id: | <6654-Sat29May2004131405+0300-eliz@gnu.org> |
X-Mailer: | emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 |
In-reply-to: | <ACAAE6BD7520AB4CB2744D1D1BAD3A2BA14363@jupiter.insideai.com> |
(Jbond AT ai-logix DOT com) | |
Subject: | Re: Problem with copy command in Makefile |
References: | <ACAAE6BD7520AB4CB2744D1D1BAD3A2BA14363 AT jupiter DOT insideai DOT com> |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> Date: Fri, 28 May 2004 10:54:46 -0400 > From: "John Bond" <Jbond AT ai-logix DOT com> > > I have fixed some issues with hacks, but this one has me stumped: The production below creates the file "config_i.h" instead of "config_internals.h", DOS 8.3 issue... > > config_header2: config_header.c Makefile > copy $(PINC)\config.h config_internals.h > $(CC) $(INC1) $(INC2) $(CCFLAGS) -DINTERNALS -o $@ $< > del config_internals.h It was probably meant to be used on Windows 9X, not on XP. It sounds like XP's COMMAND.COM's COPY command doesn't support long file names, or does some auto truncation for some reason. I'd suggest to do one of the following: (1) replace COPY with cp and DEL with rm -f (2) replace COPY with CMD.EXE /C COPY and similarly for DEL; this will force use of CMD.EXE instead of COMMAND.COM
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |