This is the mail archive of the gcc@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]

Re: cpplib changes fail to compile


On Fri, 5 Feb 1999 09:57:16 -0600, Robert Lipe wrote:
>Several cpp* files changed last night...
>
>$ l -t cpp*   
>-rw-------   1 robertl  group     171593 Feb  5 03:04 cpplib.c
>-rw-------   1 robertl  group      26004 Feb  5 03:04 cpplib.h
>-rw-------   1 robertl  group       4866 Feb  5 03:01 cpperror.c
>-rw-------   1 robertl  group      37780 Feb  5 03:01 cppfiles.c
>-rw-------   1 robertl  group       5297 Feb  4 05:36 cppinit.c
>
>...wthout a corresponding ChangeLog entry.  Unfortunately, the builds
>now fail.   Was this just an incomplete commit?

The changelog entry is indeed missing, and the change tickles a bug in
the Makefile which I missed since I don't have a box that needs
fixproto.  Please see if the appended patch works for you.

Dave, I've added the missing ChangeLog entry.

1999-02-05 11:01 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* Makefile.in (gen-protos): Use libcpp.a like everyone else.

============================================================
Index: Makefile.in
--- Makefile.in	1999/02/04 11:36:54	1.224
+++ Makefile.in	1999/02/05 16:04:35
@@ -2208,10 +2208,9 @@
 	  touch deduced.h; \
 	fi
 
-GEN_PROTOS_OBJS = gen-protos.o cppalloc.o cpperror.o cppexp.o \
-  cpphash.o cpplib.o prefix.o scan.o version.o cppfiles.o cppulp.o
+GEN_PROTOS_OBJS = gen-protos.o scan.o libcpp.a
 gen-protos: $(GEN_PROTOS_OBJS) $(HOST_LIBDEPS)
-	${HOST_CC} $(HOST_CFLAGS) $(HOST_LDFLAGS) -o $@ \
+	${HOST_CC} $(HOST_CFLAGS) $(HOST_LDFLAGS) -o gen-protos \
 	  $(GEN_PROTOS_OBJS) $(HOST_LIBS)
 
 gen-protos.o: gen-protos.c scan.h $(build_xm_file) system.h




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