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]

libobjc buglet



Nick's change to the argument processing exposed a latent bug :-)

The Objective-C runtime  was passing -fgnu-runtime to the compiler when
building C code.  Opps.

        * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
        the compiler when building C code.

Index: Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/libobjc/Makefile.in,v
retrieving revision 1.12
diff -c -3 -p -r1.12 Makefile.in
*** Makefile.in	1999/09/07 05:49:18	1.12
--- Makefile.in	1999/09/21 13:48:07
*************** encoding_gc.o:	encoding.c
*** 147,156 ****
  		$(CC) -c -o $@ $(ALL_CFLAGS) $(OBJC_GCFLAGS) $(INCLUDES) $<
  
  gc.o:		gc.c
! 		$(CC) -fgnu-runtime -c -o $@ $(ALL_CFLAGS) $(INCLUDES) $<
  
  gc_gc.o:	gc.c
! 		$(CC) -fgnu-runtime -c -o $@ $(ALL_CFLAGS) $(OBJC_GCFLAGS) \
  			$(INCLUDES) $<
  
  hash_gc.o:	hash.c
--- 147,156 ----
  		$(CC) -c -o $@ $(ALL_CFLAGS) $(OBJC_GCFLAGS) $(INCLUDES) $<
  
  gc.o:		gc.c
! 		$(CC) -c -o $@ $(ALL_CFLAGS) $(INCLUDES) $<
  
  gc_gc.o:	gc.c
! 		$(CC) -c -o $@ $(ALL_CFLAGS) $(OBJC_GCFLAGS) \
  			$(INCLUDES) $<
  
  hash_gc.o:	hash.c





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