This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Do not try to move cc1obj twice


Howdy,

The objc.stage* targets in objc/Make-lang.in try to move cc1obj
into the corresponding stage directory.  This is also done in the
GCC's Makefile.in, leading to (ignored) errors, e.g.:

 mv cc1obj stage1
 mv: cannot stat `cc1obj': No such file or directory
 make[2]: [objc.stage1] Error 1 (ignored)

The following patch eliminates these extra moves, similarly to the
other languages.

Bootstrapped and regression tested on powerpc-unknown-linux-gnu.

OK to commit?

-- 
Matt Kraai          kraai@alumni.cmu.edu          Debian GNU/Linux

Index: gcc/objc/Make-lang.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/objc/Make-lang.in,v
retrieving revision 1.58
diff -3 -c -p -r1.58 Make-lang.in
*** gcc/objc/Make-lang.in	5 Jun 2003 16:36:11 -0000	1.58
--- gcc/objc/Make-lang.in	16 Jul 2003 12:35:15 -0000
*************** objc.maintainer-clean:
*** 146,164 ****
  
  objc.stage1: stage1-start
  	-mv objc/*$(objext) stage1/objc
- 	-mv cc1obj$(exeext) stage1
  objc.stage2: stage2-start
  	-mv objc/*$(objext) stage2/objc
- 	-mv cc1obj$(exeext) stage2
  objc.stage3: stage3-start
  	-mv objc/*$(objext) stage3/objc
- 	-mv cc1obj$(exeext) stage3
  objc.stage4: stage4-start
  	-mv objc/*$(objext) stage4/objc
- 	-mv cc1obj$(exeext) stage4
  objc.stageprofile: stageprofile-start
  	-mv objc/*$(objext) stageprofile/objc
- 	-mv cc1obj$(exeext) stageprofile
  objc.stagefeedback: stagefeedback-start
  	-mv objc/*$(objext) stagefeedback/objc
- 	-mv cc1obj$(exeext) stagefeedback
--- 146,158 ----


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