🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Geoffrey P Waigh Mon, 02 Nov 1992 16:20
error in objc/Makefile (2.3.1)
#53
Author: Geoffrey P Waigh
Date: Mon, 02 Nov 1992 16:20
39 lines
2000 bytes
There is an error in the gcc-2.3.1/objc/Makefile:
The dependency lists refer to header files in the main source directory
using a path of .. rather than $(srcdir).  This breaks when compiling
gcc in a separate directory.

I don't think the relative path for the command under the all target
needs modification, since objc/Makefile is not relocated, and $(srcdir)
will not normally be set if the make was not invoked from the parent make.

Geoffrey Waigh
g9gwaigh@cdf.utoronto.ca

Patch follows:
*** Makefile.old	Mon Nov  2 20:59:58 1992
--- Makefile    Mon Nov  2 19:40:10 1992
***************
*** 35,45 ****
        $(AR) rc libobjc.a object.o core.o hash.o
  # ranlib is run in the parent directory's makefile.

! OBJC_H = objc.h objc-proto.h record.h ../assert.h ../gstdarg.h
  HASH_H = hash.h mutex.h

! core.o: core.c $(OBJC_H) $(HASH_H) ../gstddef.h
! hash.o: hash.c $(OBJC_H) $(HASH_H) ../gstddef.h
  object.o: object.m object.h $(OBJC_H)
        $(GCC_FOR_TARGET) -c $(GCC_CFLAGS) $(SUBDIR_INCLUDES) $<

--- 35,45 ----
        $(AR) rc libobjc.a object.o core.o hash.o
  # ranlib is run in the parent directory's makefile.

! OBJC_H = objc.h objc-proto.h record.h $(srcdir)/assert.h $(srcdir)/gstdarg.h
  HASH_H = hash.h mutex.h

! core.o: core.c $(OBJC_H) $(HASH_H) $(srcdir)/gstddef.h
! hash.o: hash.c $(OBJC_H) $(HASH_H) $(srcdir)/gstddef.h
  object.o: object.m object.h $(OBJC_H)
        $(GCC_FOR_TARGET) -c $(GCC_CFLAGS) $(SUBDIR_INCLUDES) $<
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads