delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/06/20/13:00:27

From: pavenis AT lanet DOT lv
To: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Date: Wed, 20 Jun 2001 19:59:03 +0300
MIME-Version: 1.0
Subject: Re: patch for src/libc/crt0/makefile
Cc: djgpp-workers AT delorie DOT com
Message-ID: <3B310087.7097.22C49@localhost>
In-reply-to: <5832-Wed20Jun2001175922+0300-eliz@is.elta.co.il>
References: <3B30B06C DOT 31375 DOT 95735D AT localhost> (pavenis AT lanet DOT lv)
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 20 Jun 2001, at 17:59, Eli Zaretskii wrote:

> > From: pavenis AT lanet DOT lv
> > Date: Wed, 20 Jun 2001 14:17:16 +0300
> >
> >   $(LIB)/crt0.o : crt0.S exit16.ah sbrk16.ah
> > ! 	$(XGCC) -MMD -c crt0.S -o crt0.o
> > ! 	mv -f crt0.o $@
> >   	sed 's AT crt0 DOT o@$(LIB)/crt0.o@' crt0.d > crt02.d
> 
> We don't want users who build the library to need to install more
> tools than they already need.  So using `mv' is not a good idea (the
> library build doesn't require Fileutils).  Please use misc.exe
> instead, it can emulate `cp' and `rm', which should be enough in this
> case.

Ok. I can use misc.exe. Is it Ok to commit?

Andris

Index: makefile
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/crt0/makefile,v
retrieving revision 1.3
diff -p -3 -r1.3 makefile
*** makefile	1998/08/16 11:26:18	1.3
--- makefile	2001/06/20 16:49:52
*************** sbrk16.ah : sbrk16.asm
*** 24,32 ****
  	$(HOSTBIN)/djasm.exe sbrk16.asm sbrk16.ah
  
  $(LIB)/crt0.o : crt0.S exit16.ah sbrk16.ah
! 	$(XGCC) -MMD -c crt0.S -o $@
  	sed 's AT crt0 DOT o@$(LIB)/crt0.o@' crt0.d > crt02.d
  
  $(LIB)/gcrt0.o : gcrt0.S crt0.S exit16.ah sbrk16.ah
! 	$(XGCC) -MMD -c gcrt0.S -o $@
  	sed 's AT gcrt0 DOT o@$(LIB)/gcrt0.o@' gcrt0.d > gcrt02.d
--- 24,36 ----
  	$(HOSTBIN)/djasm.exe sbrk16.asm sbrk16.ah
  
  $(LIB)/crt0.o : crt0.S exit16.ah sbrk16.ah
! 	$(XGCC) -MMD -c crt0.S -o crt0.o
! 	$(MISC) cp crt0.o $@
! 	$(MISC) rm crt0.o
  	sed 's AT crt0 DOT o@$(LIB)/crt0.o@' crt0.d > crt02.d
  
  $(LIB)/gcrt0.o : gcrt0.S crt0.S exit16.ah sbrk16.ah
! 	$(XGCC) -MMD -c gcrt0.S -o gcrt0.o
! 	$(MISC) cp gcrt0.o $@
! 	$(MISC) rm gcrt0.o
  	sed 's AT gcrt0 DOT o@$(LIB)/gcrt0.o@' gcrt0.d > gcrt02.d

- Raw text -


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