%n gcc %v 2.7.2.l.3 %c * %l * %b * %d * %f * %t gcc-2.7.2.l.3.tgz %w Gnu %% %setup patch -u -p1 <<'ENDPATCH' diff -ru2N gcc-2.7.2.l.3/Makefile.in gcc-MCC/Makefile.in --- gcc-2.7.2.l.3/Makefile.in Tue Nov 28 01:16:04 1995 +++ gcc-MCC/Makefile.in Sat Aug 31 20:03:53 1996 @@ -36,5 +36,5 @@ # Selection of languages to be made. # This is overridden by configure. -LANGUAGES = c objective-c proto +LANGUAGES = c proto ALLOCA = @@ -48,5 +48,5 @@ # XCFLAGS is used for most compilations but not when using the GCC just built. XCFLAGS = -CFLAGS = -g +CFLAGS = BOOT_CFLAGS = -O $(CFLAGS) # These exists to be overridden by the x-* and t-* files, respectively. @@ -69,6 +69,6 @@ INSTALL = install -c # These permit overriding just for certain files. -INSTALL_PROGRAM = $(INSTALL) -INSTALL_DATA = $(INSTALL) +INSTALL_PROGRAM = install -s -m 555 +INSTALL_DATA = install -m 444 MAKEINFO = makeinfo TEXI2DVI = texi2dvi @@ -94,5 +94,5 @@ # CFLAGS for use with OLDCC, for compiling libgcc1.a. # NOTE: -O does not work on some Unix systems! -CCLIBFLAGS = -O +CCLIBFLAGS = -O6 # Version of ar to use when compiling libgcc1.a. @@ -246,5 +246,5 @@ # we use this here because that should be enough, and also # so that -g1 will be tested. -LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(TARGET_LIBGCC2_CFLAGS) -g1 +LIBGCC2_CFLAGS = -O6 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(TARGET_LIBGCC2_CFLAGS) # Additional options to use when compiling libgcc2.a. @@ -1020,9 +1020,9 @@ $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \ -DCRT_BEGIN -finhibit-size-directive -fno-inline-functions \ - -g0 -c $(srcdir)/crtstuff.c + -c $(srcdir)/crtstuff.c mv crtstuff$(objext) crtbegin$(objext) $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \ -DCRT_END -finhibit-size-directive -fno-inline-functions \ - -g0 -c $(srcdir)/crtstuff.c + -c $(srcdir)/crtstuff.c mv crtstuff$(objext) crtend$(objext) touch stamp-crt @@ -1035,9 +1035,9 @@ $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \ -DCRT_BEGIN -finhibit-size-directive -fno-inline-functions \ - -g0 -c $(srcdir)/crtstuff.c -fPIC + -c $(srcdir)/crtstuff.c -fPIC mv crtstuff$(objext) crtbeginS$(objext) $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \ -DCRT_END -finhibit-size-directive -fno-inline-functions \ - -g0 -c $(srcdir)/crtstuff.c -fPIC + -c $(srcdir)/crtstuff.c -fPIC mv crtstuff$(objext) crtendS$(objext) touch stamp-crtS @@ -1655,12 +1655,12 @@ proto: config.status protoize unprotoize SYSCALLS.c.X -protoize: protoize.o getopt.o getopt1.o getpwd.o version.o $(LIBDEPS) +protoize: protoize.o getpwd.o version.o $(LIBDEPS) $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ \ - protoize.o getopt.o getopt1.o getpwd.o version.o $(LIBS) + protoize.o getpwd.o version.o $(LIBS) protoize.o: stamp-proto ; @true -unprotoize: unprotoize.o getopt.o getopt1.o getpwd.o version.o $(LIBDEPS) +unprotoize: unprotoize.o getpwd.o version.o $(LIBDEPS) $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ \ - unprotoize.o getopt.o getopt1.o getpwd.o version.o $(LIBS) + unprotoize.o getpwd.o version.o $(LIBS) unprotoize.o: stamp-proto ; @true @@ -2023,5 +2023,5 @@ # broken is small. install-normal: install-common $(INSTALL_HEADERS) $(INSTALL_LIBGCC) \ - install-libobjc install-man install-info lang.install-normal install-driver + install-libobjc install-man lang.install-normal install-driver # Do nothing while making gcc with a cross-compiler. The person who diff -ru2N gcc-2.7.2.l.3/config/x-linux gcc-MCC/config/x-linux --- gcc-2.7.2.l.3/config/x-linux Wed Mar 13 23:33:18 1996 +++ gcc-MCC/config/x-linux Sat Aug 31 20:13:35 1996 @@ -9,5 +9,5 @@ # gcc's limits.h hasn't been installed yet and hence isn't found. -BOOT_CFLAGS = -O $(CFLAGS) -Iinclude +BOOT_CFLAGS = -O6 -fomit-frame-pointer $(CFLAGS) -Iinclude # Don't run fixproto diff -ru2N gcc-2.7.2.l.3/cp/Make-lang.in gcc-MCC/cp/Make-lang.in --- gcc-2.7.2.l.3/cp/Make-lang.in Mon Sep 25 00:21:00 1995 +++ gcc-MCC/cp/Make-lang.in Sat Aug 31 20:06:27 1996 @@ -80,7 +80,7 @@ rm -f cxxmain.c -$(DEMANGLER_PROG): cxxmain.o underscore.o getopt.o getopt1.o $(LIBDEPS) +$(DEMANGLER_PROG): cxxmain.o underscore.o $(LIBDEPS) $(CC) $(ALL_CFLAGS) $(LDFLAGS) $(LIBS) -o $@ \ - cxxmain.o underscore.o getopt.o getopt1.o + cxxmain.o underscore.o CXX_SRCS = $(srcdir)/cp/call.c $(srcdir)/cp/decl2.c \ ENDPATCH ./configure --prefix=/usr --gxx-include-dir=/usr/include/g++ i486-linux make bootstrap * make install CC="stage2/xgcc -Bstage2/" * ln -f /usr/bin/gcc /usr/bin/cc * (cd /usr/lib/gcc-lib/i486-linux/2.7.2.l.3;rm -rf include/objc;find .|xargs chmod a+r-w;rm crt*.o) * (cd /usr/man/man1;gzip -9f cccp.1 g++.1 gcc.1) * rm -f /usr/bin/i486-linux-gcc * rmdir /usr/info /usr/i486-linux/include %%