This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

make clean doesn't in current cvs


Hi guys,
After I updated my copy of gcc, 'make clean' and 'make mostlyclean' no longer 
work. I get the message:
c:/djgpp/bin/sed.exe: -e expression #1, char 1: Unknown command: ``'''
make.exe: *** empty string invalid as file name.  Stop.
make.exe: *** [do-clean] Error 1

This is with DJGPP, GNU make, GNU sed, etc.

The problem doesn't appear in the binutils tree. Comparing the two, I find 
the problem goes away if I make one change to the gcc version of Makefile.in 
to match the binutils version. The change shows me where the problem is, but 
I have no idea how to fix it.

Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/Makefile.in,v
retrieving revision 1.77
diff -c -p -r1.77 Makefile.in
*** Makefile.in	2001/03/21 19:34:08	1.77
--- Makefile.in	2001/03/23 00:26:37
*************** $(DO_X):
*** 967,973 ****
  	    if (cd ./$$i; \
  	        $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  			"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
! 	                "`echo \"RANLIB=$${RANLIB}\" | sed -e \'s/.*=$$/XFOO=/\'`" 
\
  			"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
  			$${target}); \
  	    then true; else exit 1; fi; \
--- 967,973 ----
  	    if (cd ./$$i; \
  	        $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  			"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
! 			"RANLIB=$${RANLIB}" \
  			"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
  			$${target}); \
  	    then true; else exit 1; fi; \


Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]