home *** CD-ROM | disk | FTP | other *** search
- Common subdirectories: ogpp-1.39/config and gpp-1.39/config
- diff +context=3 +entire-new-file ogpp-1.39/cplus-le.c gpp-1.39/cplus-le.c
- *** ogpp-1.39/cplus-le.c Sun Mar 24 16:14:40 1991
- --- gpp-1.39/cplus-le.c Thu Mar 7 00:12:06 1991
- ***************
- *** 1298,1304 ****
- setbuf (finput2, t->buf);
- finput2->_cnt = t->len-1;
- #else
- ! #if defined(i386) && !defined(sequent) && !defined(sun386)
- finput2->_ptr = finput2->_base = t->buf;
- _bufend(finput2) = t->buf + t->len;
- finput2->_flag = _IOFBF | _IOREAD;
- --- 1298,1304 ----
- setbuf (finput2, t->buf);
- finput2->_cnt = t->len-1;
- #else
- ! #if defined(i386) && !defined(sequent) && !defined(sun386) && !defined(GNUDOS)
- finput2->_ptr = finput2->_base = t->buf;
- _bufend(finput2) = t->buf + t->len;
- finput2->_flag = _IOFBF | _IOREAD;
- ***************
- *** 2738,2744 ****
- setbuf (finput2, t->buf);
- finput2->_cnt = t->len-1;
- #else
- ! #if defined(i386) && !defined(sequent) && !defined(sun386)
- finput2->_ptr = finput2->_base = t->buf;
- _bufend(finput2) = t->buf + t->len;
- finput2->_flag = _IOFBF | _IOREAD;
- --- 2738,2744 ----
- setbuf (finput2, t->buf);
- finput2->_cnt = t->len-1;
- #else
- ! #if defined(i386) && !defined(sequent) && !defined(sun386) && !defined(GNUDOS)
- finput2->_ptr = finput2->_base = t->buf;
- _bufend(finput2) = t->buf + t->len;
- finput2->_flag = _IOFBF | _IOREAD;
- diff +context=3 +entire-new-file ogpp-1.39/gppfilt.c gpp-1.39/gppfilt.c
- *** ogpp-1.39/gppfilt.c Sun Mar 24 16:15:04 1991
- --- gpp-1.39/gppfilt.c Thu Mar 7 00:12:06 1991
- ***************
- *** 20,27 ****
- --- 20,29 ----
- #include <string.h>
- #include <ctype.h>
-
- + #ifndef GNUDOS
- char *malloc ();
- char *realloc ();
- + #endif
-
- #ifndef __STDC__
- #define const
- diff +context=3 +entire-new-file ogpp-1.39/makeall.bat gpp-1.39/makeall.bat
- *** ogpp-1.39/makeall.bat Sun Mar 24 16:15:16 1991
- --- gpp-1.39/makeall.bat Thu Mar 7 00:12:06 1991
- ***************
- *** 4,54 ****
- if not exist genconfig make genconfig
- if exist insn-config.h goto L1
- go32 genconfig md > insn-config.h
- ! touch stamp-config
- :L1
-
- if not exist genflags make genflags
- if exist insn-flags.h goto L2
- go32 genflags md > insn-flags.h
- ! touch stamp-flags
- :L2
-
- if not exist gencodes make gencodes
- if exist insn-codes.h goto L3
- go32 gencodes md > insn-codes.h
- ! touch stamp-codes
- :L3
-
- if not exist genemit make genemit
- if exist insn-emit.c goto L4
- go32 genemit md > insn-emit.c
- ! touch stamp-emit
- :L4
-
- if not exist genrecog make genrecog
- if exist insn-recog.c goto L5
- go32 genrecog md > insn-recog.c
- ! touch stamp-recog
- :L5
-
- if not exist genextract make genextract
- if exist insn-extract.c goto L6
- go32 genextract md > insn-extract.c
- ! touch stamp-extract
- :L6
-
- if not exist genpeep make genpeep
- if exist insn-peep.c goto L7
- go32 genpeep md > insn-peep.c
- ! touch stamp-peep
- :L7
-
- if not exist genoutput make genoutput
- if exist insn-output.c goto L8
- go32 genoutput md > insn-output.c
- ! touch stamp-output
- :L8
-
- ! make cccp
- ! if not errorlevel 1 make cc1
- ! if not errorlevel 1 make gcc.exe
- --- 4,53 ----
- if not exist genconfig make genconfig
- if exist insn-config.h goto L1
- go32 genconfig md > insn-config.h
- ! touch stamp-config.h
- :L1
-
- if not exist genflags make genflags
- if exist insn-flags.h goto L2
- go32 genflags md > insn-flags.h
- ! touch stamp-flags.h
- :L2
-
- if not exist gencodes make gencodes
- if exist insn-codes.h goto L3
- go32 gencodes md > insn-codes.h
- ! touch stamp-codes.h
- :L3
-
- if not exist genemit make genemit
- if exist insn-emit.c goto L4
- go32 genemit md > insn-emit.c
- ! touch stamp-emit.c
- :L4
-
- if not exist genrecog make genrecog
- if exist insn-recog.c goto L5
- go32 genrecog md > insn-recog.c
- ! touch stamp-recog.c
- :L5
-
- if not exist genextract make genextract
- if exist insn-extract.c goto L6
- go32 genextract md > insn-extract.c
- ! touch stamp-extract.c
- :L6
-
- if not exist genpeep make genpeep
- if exist insn-peep.c goto L7
- go32 genpeep md > insn-peep.c
- ! touch stamp-peep.c
- :L7
-
- if not exist genoutput make genoutput
- if exist insn-output.c goto L8
- go32 genoutput md > insn-output.c
- ! touch stamp-output.c
- :L8
-
- ! make cc1plus
- ! make gppfilt
- diff +context=3 +entire-new-file ogpp-1.39/makefile gpp-1.39/makefile
- *** ogpp-1.39/makefile Sun Mar 24 16:15:16 1991
- --- gpp-1.39/makefile Sun Mar 24 16:17:40 1991
- ***************
- *** 18,30 ****
- #along with GNU CC; see the file COPYING. If not, write to
- #the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
-
-
- # Variables that exist for you to override.
- # See below for how to change them for certain systems.
-
- # These files depend on -DSOS:
- ! # cplus-class.o cplus-decl.o cplus-decl2.o cplus-init.o \
- ! # cplus-method.o cplus-typeck.o
-
- # This file depends on -DESKIT: cplus-class.o
-
- --- 18,38 ----
- #along with GNU CC; see the file COPYING. If not, write to
- #the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
-
- + # GNUDOS: changed the following:
- + # g++filt.c -> gppfilt.c
- + # cplus-typeck.c -> cp-typeck.c
- + # cplus-expr.c -> cp-expr.c
- + # cplus-dem.c -> cp-dem.c
- + # cplus-decl2.c -> cp-decl2.c
- + # ld++ -> ld
-
- +
- # Variables that exist for you to override.
- # See below for how to change them for certain systems.
-
- # These files depend on -DSOS:
- ! # cplus-class.o cplus-decl.o cp-decl2.o cplus-init.o \
- ! # cplus-method.o cp-typeck.o
-
- # This file depends on -DESKIT: cplus-class.o
-
- ***************
- *** 50,56 ****
- # HAVE_UNISTD_H = -DNO_UNISTD_H
-
- # CFLAGS = -g -DSOS -DESKIT -O
- ! CFLAGS = -g -DGATHER_STATISTICS -O $(COFFLAGS) -B../gcc-test/ -DFIELD_XREF
- CC = gcc
- BISON = bison
- BISONFLAGS = -v -d
- --- 58,66 ----
- # HAVE_UNISTD_H = -DNO_UNISTD_H
-
- # CFLAGS = -g -DSOS -DESKIT -O
- ! # CFLAGS = -g -DGATHER_STATISTICS -O $(COFFLAGS) -B../gcc-test/ -DFIELD_XREF
- ! # GNUDOS: use below
- ! CFLAGS = -O -DGATHER_STATISTICS $(COFFLAGS) -DFIELD_XREF -DGNUDOS -DMERGED
- CC = gcc
- BISON = bison
- BISONFLAGS = -v -d
- ***************
- *** 97,103 ****
-
- # Change this to a null string if obstacks are installed in the
- # system library.
- ! OBSTACK=obstack.o
-
- # Directory to link to, when using the target `maketest'.
- DIR = ../gcc
- --- 107,113 ----
-
- # Change this to a null string if obstacks are installed in the
- # system library.
- ! # OBSTACK=obstack.o
-
- # Directory to link to, when using the target `maketest'.
- DIR = ../gcc
- ***************
- *** 133,139 ****
- # If your system's malloc() routine fails for any reason (as it does on
- # certain versions of Genix), try getting the files
- # malloc.c and getpagesize.h from GNU Emacs and un-comment the following line:
- ! MALLOC = malloc.o
-
- # If you are running GCC on an Apollo (SR10.x),
- # go into a Berkeley environment and use this:
- --- 143,149 ----
- # If your system's malloc() routine fails for any reason (as it does on
- # certain versions of Genix), try getting the files
- # malloc.c and getpagesize.h from GNU Emacs and un-comment the following line:
- ! # MALLOC = malloc.o
-
- # If you are running GCC on an Apollo (SR10.x),
- # go into a Berkeley environment and use this:
- ***************
- *** 164,172 ****
- C_OBJS = c-parse.tab.o c-decl.o c-typeck.o c-convert.o
-
- # Language-specific object files for C++.
- ! CPLUS_OBJS = cplus-tab.o cplus-decl.o cplus-decl2.o cplus-typeck.o cplus-type2.o \
- cplus-tree.o cplus-lex.o cplus-class.o cplus-init.o cplus-except.o \
- ! cplus-method.o cplus-cvt.o cplus-search.o cplus-ptree.o cplus-expr.o \
- cplus-field.o
-
- # Language-independent object files.
- --- 174,182 ----
- C_OBJS = c-parse.tab.o c-decl.o c-typeck.o c-convert.o
-
- # Language-specific object files for C++.
- ! CPLUS_OBJS = cplus-tab.o cplus-decl.o cp-decl2.o cp-typeck.o cplus-type2.o \
- cplus-tree.o cplus-lex.o cplus-class.o cplus-init.o cplus-except.o \
- ! cplus-method.o cplus-cvt.o cplus-search.o cplus-ptree.o cp-expr.o \
- cplus-field.o
-
- # Language-independent object files.
- ***************
- *** 178,190 ****
- insn-peep.o final.o recog.o insn-recog.o insn-extract.o insn-output.o
-
- # Files to be copied away after each stage in building.
- ! STAGE_GCC=gcc
- ! STAGESTUFF = *.o insn-flags.h insn-config.h insn-codes.h \
- ! insn-output.c insn-recog.c insn-emit.c insn-extract.c insn-peep.c \
- ! stamp-flags.h stamp-config.h stamp-codes.h \
- ! stamp-output.c stamp-recog.c stamp-emit.c stamp-extract.c stamp-peep.c \
- ! genemit genoutput genrecog genextract genflags gencodes genconfig genpeep \
- ! cc1plus
-
- # Header files that are made available to programs compiled with gcc.
- USER_H = stddef.h stdarg.h assert.h va-*.h limits.h
- --- 188,201 ----
- insn-peep.o final.o recog.o insn-recog.o insn-extract.o insn-output.o
-
- # Files to be copied away after each stage in building.
- ! # GNUDOS: don't need these, save macro space
- ! # STAGE_GCC=gcc
- ! # STAGESTUFF = *.o insn-flags.h insn-config.h insn-codes.h \
- ! # insn-output.c insn-recog.c insn-emit.c insn-extract.c insn-peep.c \
- ! # stamp-flags.h stamp-config.h stamp-codes.h \
- ! # stamp-output.c stamp-recog.c stamp-emit.c stamp-extract.c stamp-peep.c \
- ! # genemit genoutput genrecog genextract genflags gencodes genconfig genpeep \
- ! # cc1plus
-
- # Header files that are made available to programs compiled with gcc.
- USER_H = stddef.h stdarg.h assert.h va-*.h limits.h
- ***************
- *** 209,215 ****
-
- # gnulib is not a target because a proper installation of GNU CC
- # will place it where g++ can find it. Same with cpp
- ! all: crt1+.o g++ cc1plus ld++ g++filt # collect crt0+.o
- # On COFF systems, use the target below.
- # all: g++ cc1plus collect # crt0+.o crt1+.o
-
- --- 220,226 ----
-
- # gnulib is not a target because a proper installation of GNU CC
- # will place it where g++ can find it. Same with cpp
- ! all: crt1+.o g++ cc1plus ldilt # collect crt0+.o
- # On COFF systems, use the target below.
- # all: g++ cc1plus collect # crt0+.o crt1+.o
-
- ***************
- *** 281,288 ****
- $(CC) -c -v $$OPTS -DSTANDARD_SEARCH_DIRS="$$DFLTS" $(PROFILE) $(CFLAGS) ld.c ; \
- fi
-
- ! ld++: ld.o cplus-dem.o
- ! $(CC) -o ld++ $(PROFILE) ld.o cplus-dem.o -lg -lc
-
- collect: collect.c config.h $(LIBDEPS)
- COLLECT_LIBS="-lld"; \
- --- 292,299 ----
- $(CC) -c -v $$OPTS -DSTANDARD_SEARCH_DIRS="$$DFLTS" $(PROFILE) $(CFLAGS) ld.c ; \
- fi
-
- ! ld: ld.o cp-dem.o
- ! $(CC) -o ld ld.o cp-dem.o -lg -lc
-
- collect: collect.c config.h $(LIBDEPS)
- COLLECT_LIBS="-lld"; \
- ***************
- *** 296,303 ****
- collect2: collect2.c config.h
- $(CC) -o collect2 collect2.c $(PROFILE) $$COLLECT_OPTIONS $(CFLAGS) $(INCLUDES) -lc
-
- ! g++filt: g++filt.o cplus-dem.o
- ! $(CC) -o g++filt g++filt.o cplus-dem.o
-
- crt0+.o: crt0.c config.h
- -if cmp -s tm.h config/tm-vax.h; then \
- --- 307,314 ----
- collect2: collect2.c config.h
- $(CC) -o collect2 collect2.c $(PROFILE) $$COLLECT_OPTIONS $(CFLAGS) $(INCLUDES) -lc
-
- ! gppfilt: gppfilt.o cp-dem.o
- ! $(CC) -o gppfilt gppfilt.o cp-dem.o
-
- crt0+.o: crt0.c config.h
- -if cmp -s tm.h config/tm-vax.h; then \
- ***************
- *** 331,338 ****
- $(CRT1_COMMAND)
- mv crt1.o crt1+.o
-
- cc1plus: $(CPLUS_OBJS) $(OBJS) $(LIBDEPS) lastfile.o cplus-edsel.o
- ! $(CC) $(CFLAGS) $(LDFLAGS) -o cc1plus lastfile.o $(CPLUS_OBJS) cplus-edsel.o $(OBJS) $(LIBS) -lm
-
- cadillac-cc1plus: $(CPLUS_OBJS) $(CADILLAC_OBJS) $(OBJS) $(LIBDEPS) lastfile.o
- $(CC) $(CFLAGS) $(LDFLAGS) -o cadillac-cc1plus lastfile.o $(CPLUS_OBJS) $(CADILLAC_OBJS) $(OBJS) $(LIBS)
- --- 342,351 ----
- $(CRT1_COMMAND)
- mv crt1.o crt1+.o
-
- + # GNUDOS: use response file, remove $(CFLAGS) and $(LIBS)
- cc1plus: $(CPLUS_OBJS) $(OBJS) $(LIBDEPS) lastfile.o cplus-edsel.o
- ! >cc1plus.rf lastfile.o $(CPLUS_OBJS) cplus-edsel.o $(OBJS) -lm
- ! gcc $(LDFLAGS) -o cc1plus @cc1plus.rf
-
- cadillac-cc1plus: $(CPLUS_OBJS) $(CADILLAC_OBJS) $(OBJS) $(LIBDEPS) lastfile.o
- $(CC) $(CFLAGS) $(LDFLAGS) -o cadillac-cc1plus lastfile.o $(CPLUS_OBJS) $(CADILLAC_OBJS) $(OBJS) $(LIBS)
- ***************
- *** 339,353 ****
-
- cplus-decl.o : cplus-decl.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h \
- cplus-parse.h cplus-decl.h stack.h rtl.h insn-flags.h
- ! cplus-decl2.o : cplus-decl2.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h \
- cplus-parse.h cplus-decl.h
- ! cplus-typeck.o : cplus-typeck.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
- cplus-type2.o : cplus-type2.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
- cplus-tree.o : cplus-tree.c $(CONFIG_H) $(CPLUS_TREE_H)
- cplus-class.o : cplus-class.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h
- cplus-init.o : cplus-init.c $(CONFIG_H) $(CPLUS_TREE_H)
- cplus-except.o : cplus-except.c $(CONFIG_H) $(CPLUS_TREE_H)
- ! cplus-expr.o : cplus-expr.c $(CONFIG_H) $(CPLUS_TREE_H) $(RTL_H) insn-codes.h
- cplus-method.o : cplus-method.c $(CONFIG_H) $(CPLUS_TREE_H)
- cplus-cvt.o : cplus-cvt.c $(CONFIG_H) $(CPLUS_TREE_H)
- cplus-search.o : cplus-search.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h
- --- 352,366 ----
-
- cplus-decl.o : cplus-decl.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h \
- cplus-parse.h cplus-decl.h stack.h rtl.h insn-flags.h
- ! cp-decl2.o : cp-decl2.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h \
- cplus-parse.h cplus-decl.h
- ! cp-typeck.o : cp-typeck.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
- cplus-type2.o : cplus-type2.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
- cplus-tree.o : cplus-tree.c $(CONFIG_H) $(CPLUS_TREE_H)
- cplus-class.o : cplus-class.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h
- cplus-init.o : cplus-init.c $(CONFIG_H) $(CPLUS_TREE_H)
- cplus-except.o : cplus-except.c $(CONFIG_H) $(CPLUS_TREE_H)
- ! cp-expr.o : cp-expr.c $(CONFIG_H) $(CPLUS_TREE_H) $(RTL_H) insn-codes.h
- cplus-method.o : cplus-method.c $(CONFIG_H) $(CPLUS_TREE_H)
- cplus-cvt.o : cplus-cvt.c $(CONFIG_H) $(CPLUS_TREE_H)
- cplus-search.o : cplus-search.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h
- ***************
- *** 359,367 ****
- cplus-edsel.o : cplus-cadillac.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h
- $(CC) -c $(CFLAGS) $(INCLUDES) -o cplus-edsel.o cplus-cadillac.c
-
- ! cplus-tab.o : $(srcdir)/cplus-tab.c $(CONFIG_H) $(CPLUS_TREE_H) \
- cplus-parse.h flags.h input.h
- ! $(CC) -c $(CFLAGS) $(INCLUDES) -DPARSE_OUTPUT=\"$(PWD)/cplus-tab.out\" $<
-
- $(srcdir)/cplus-tab.c : $(srcdir)/cplus-parse.y
- @echo expect 24 shift/reduce conflicts and 12 reduce/reduce conflicts
- --- 372,386 ----
- cplus-edsel.o : cplus-cadillac.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h
- $(CC) -c $(CFLAGS) $(INCLUDES) -o cplus-edsel.o cplus-cadillac.c
-
- ! # GNUDOS: simplify (remove $(srcdir)) $< -> $*.c, use response file
- ! cplus-tab.o : cplus-tab.c $(CONFIG_H) $(CPLUS_TREE_H) \
- cplus-parse.h flags.h input.h
- ! >cplus-ta.rf $(CFLAGS) $(INCLUDES) -DPARSE_OUTPUT="cplus-tab.out" $*.c
- ! $(CC) -c @cplus-ta.rf
- !
- ! # GNUDOS: simplify
- ! cplus-tab.c : cplus-parse.y
- ! $(BISON) $(BISONFLAGS) -o cplus-tab.c cplus-parse.y
-
- $(srcdir)/cplus-tab.c : $(srcdir)/cplus-parse.y
- @echo expect 24 shift/reduce conflicts and 12 reduce/reduce conflicts
- ***************
- *** 368,375 ****
- cd $(srcdir) ; \
- $(BISON) $(BISONFLAGS) -o cplus-tab.c cplus-parse.y
-
- cplus-lex.o : cplus-lex.c $(CONFIG_H) $(CPLUS_TREE_H) $(srcdir)/cplus-tab.h input.h
- ! $(CC) -c $(CFLAGS) $(INCLUDES) $(USG_STDIO) $<
-
- lastfile.o : lastfile.c
-
- --- 387,395 ----
- cd $(srcdir) ; \
- $(BISON) $(BISONFLAGS) -o cplus-tab.c cplus-parse.y
-
- + # GNUDOS: $< -> $*.c
- cplus-lex.o : cplus-lex.c $(CONFIG_H) $(CPLUS_TREE_H) $(srcdir)/cplus-tab.h input.h
- ! $(CC) -c $(CFLAGS) $(INCLUDES) $(USG_STDIO) $*.c
-
- lastfile.o : lastfile.c
-
- ***************
- *** 379,386 ****
- print-tree.o : print-tree.c $(CONFIG_H) $(TREE_H)
- stor-layout.o : stor-layout.c $(CONFIG_H) $(TREE_H) $(RTL_H)
- fold-const.o : fold-const.c $(CONFIG_H) $(TREE_H)
- toplev.o : toplev.c $(CONFIG_H) $(TREE_H) flags.h input.h
- ! $(CC) -c $(CFLAGS) $(INCLUDES) $(HAVE_UNISTD_H) $<
-
- rtl.o : rtl.c $(CONFIG_H) $(RTL_H)
-
- --- 399,407 ----
- print-tree.o : print-tree.c $(CONFIG_H) $(TREE_H)
- stor-layout.o : stor-layout.c $(CONFIG_H) $(TREE_H) $(RTL_H)
- fold-const.o : fold-const.c $(CONFIG_H) $(TREE_H)
- + # GNUDOS: $< -> $*.c
- toplev.o : toplev.c $(CONFIG_H) $(TREE_H) flags.h input.h
- ! $(CC) -c $(CFLAGS) $(INCLUDES) $(HAVE_UNISTD_H) $*.c
-
- rtl.o : rtl.c $(CONFIG_H) $(RTL_H)
-
- ***************
- *** 452,471 ****
- # but the file insn-config.h is touched only when its contents actually change.
-
- # Each of the other insn-* files is handled by a similar pair of rules.
-
- ! insn-config.h: stamp-config.h ;
- stamp-config.h : md genconfig
- ./genconfig md > tmp-insn-config.h
- $(srcdir)/move-if-change tmp-insn-config.h insn-config.h
- touch stamp-config.h
-
- ! insn-flags.h: stamp-flags.h ;
- stamp-flags.h : md genflags
- ./genflags md > tmp-insn-flags.h
- $(srcdir)/move-if-change tmp-insn-flags.h insn-flags.h
- touch stamp-flags.h
-
- ! insn-codes.h: stamp-codes.h ;
- stamp-codes.h : md gencodes
- ./gencodes md > tmp-insn-codes.h
- $(srcdir)/move-if-change tmp-insn-codes.h insn-codes.h
- --- 473,493 ----
- # but the file insn-config.h is touched only when its contents actually change.
-
- # Each of the other insn-* files is handled by a similar pair of rules.
- + # GNUDOS: remove the semicolons
-
- ! insn-config.h: stamp-config.h
- stamp-config.h : md genconfig
- ./genconfig md > tmp-insn-config.h
- $(srcdir)/move-if-change tmp-insn-config.h insn-config.h
- touch stamp-config.h
-
- ! insn-flags.h: stamp-flags.h
- stamp-flags.h : md genflags
- ./genflags md > tmp-insn-flags.h
- $(srcdir)/move-if-change tmp-insn-flags.h insn-flags.h
- touch stamp-flags.h
-
- ! insn-codes.h: stamp-codes.h
- stamp-codes.h : md gencodes
- ./gencodes md > tmp-insn-codes.h
- $(srcdir)/move-if-change tmp-insn-codes.h insn-codes.h
- ***************
- *** 475,481 ****
- insn-config.h insn-flags.h
- $(CC) $(CFLAGS) $(INCLUDES) -c insn-emit.c
-
- ! insn-emit.c: stamp-emit.c ;
- stamp-emit.c : md genemit
- ./genemit md > tmp-insn-emit.c
- $(srcdir)/move-if-change tmp-insn-emit.c insn-emit.c
- --- 497,503 ----
- insn-config.h insn-flags.h
- $(CC) $(CFLAGS) $(INCLUDES) -c insn-emit.c
-
- ! insn-emit.c: stamp-emit.c
- stamp-emit.c : md genemit
- ./genemit md > tmp-insn-emit.c
- $(srcdir)/move-if-change tmp-insn-emit.c insn-emit.c
- ***************
- *** 484,490 ****
- insn-recog.o : insn-recog.c $(CONFIG_H) $(RTL_H) insn-config.h real.h
- $(CC) $(CFLAGS) $(INCLUDES) -c insn-recog.c
-
- ! insn-recog.c: stamp-recog.c ;
- stamp-recog.c : md genrecog
- ./genrecog md > tmp-insn-recog.c
- $(srcdir)/move-if-change tmp-insn-recog.c insn-recog.c
- --- 506,512 ----
- insn-recog.o : insn-recog.c $(CONFIG_H) $(RTL_H) insn-config.h real.h
- $(CC) $(CFLAGS) $(INCLUDES) -c insn-recog.c
-
- ! insn-recog.c: stamp-recog.c
- stamp-recog.c : md genrecog
- ./genrecog md > tmp-insn-recog.c
- $(srcdir)/move-if-change tmp-insn-recog.c insn-recog.c
- ***************
- *** 493,499 ****
- insn-extract.o : insn-extract.c $(RTL_H)
- $(CC) $(CFLAGS) $(INCLUDES) -c insn-extract.c
-
- ! insn-extract.c: stamp-extract.c ;
- stamp-extract.c : md genextract
- ./genextract md > tmp-insn-extract.c
- $(srcdir)/move-if-change tmp-insn-extract.c insn-extract.c
- --- 515,521 ----
- insn-extract.o : insn-extract.c $(RTL_H)
- $(CC) $(CFLAGS) $(INCLUDES) -c insn-extract.c
-
- ! insn-extract.c: stamp-extract.c
- stamp-extract.c : md genextract
- ./genextract md > tmp-insn-extract.c
- $(srcdir)/move-if-change tmp-insn-extract.c insn-extract.c
- ***************
- *** 502,508 ****
- insn-peep.o : insn-peep.c $(CONFIG_H) $(RTL_H) regs.h real.h
- $(CC) $(CFLAGS) $(INCLUDES) -c insn-peep.c
-
- ! insn-peep.c: stamp-peep.c ;
- stamp-peep.c : md genpeep
- ./genpeep md > tmp-insn-peep.c
- $(srcdir)/move-if-change tmp-insn-peep.c insn-peep.c
- --- 524,530 ----
- insn-peep.o : insn-peep.c $(CONFIG_H) $(RTL_H) regs.h real.h
- $(CC) $(CFLAGS) $(INCLUDES) -c insn-peep.c
-
- ! insn-peep.c: stamp-peep.c
- stamp-peep.c : md genpeep
- ./genpeep md > tmp-insn-peep.c
- $(srcdir)/move-if-change tmp-insn-peep.c insn-peep.c
- ***************
- *** 512,518 ****
- hard-reg-set.h insn-config.h insn-flags.h output.h aux-output.c
- $(CC) $(CFLAGS) $(INCLUDES) -c insn-output.c
-
- ! insn-output.c: stamp-output.c ;
- stamp-output.c : md genoutput
- ./genoutput md > tmp-insn-output.c
- $(srcdir)/move-if-change tmp-insn-output.c insn-output.c
- --- 534,540 ----
- hard-reg-set.h insn-config.h insn-flags.h output.h aux-output.c
- $(CC) $(CFLAGS) $(INCLUDES) -c insn-output.c
-
- ! insn-output.c: stamp-output.c
- stamp-output.c : md genoutput
- ./genoutput md > tmp-insn-output.c
- $(srcdir)/move-if-change tmp-insn-output.c insn-output.c
- ***************
- *** 571,578 ****
- cccp: cccp.o cexp.o version.o $(LIBDEPS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o cccp cccp.o cexp.o version.o $(LIBS)
- cexp.o: cexp.c
- cexp.c: cexp.y
- ! $(BISON) $<
- mv cexp.tab.c cexp.c
- cccp.o: cccp.c
- $(CC) $(CFLAGS) $(INCLUDES) \
- --- 593,601 ----
- cccp: cccp.o cexp.o version.o $(LIBDEPS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o cccp cccp.o cexp.o version.o $(LIBS)
- cexp.o: cexp.c
- + # GNUDOS: $< -> $*.y
- cexp.c: cexp.y
- ! $(BISON) $*.y
- mv cexp.tab.c cexp.c
- cccp.o: cccp.c
- $(CC) $(CFLAGS) $(INCLUDES) \
- ***************
- *** 608,614 ****
- -mkdir $(libdir)
- -mkdir $(bindir)
- -mkdir $(startdir)
- ! -if [ -f cc1plus ] ; then $(INSTALL) cc1plus $(libdir)/gcc-cc1plus ;fi
- -if [ -f collect ] ; then $(INSTALL) collect $(libdir)/gcc-collect ;fi
- -if [ -f collect2 ] ; then $(INSTALL) collect2 $(libdir)/gcc-ld ;fi
- $(INSTALL) g++ $(bindir)
- --- 631,637 ----
- -mkdir $(libdir)
- -mkdir $(bindir)
- -mkdir $(startdir)
- ! -if [ -f cc1plus ] ; then $(INSTALL) cc1plus $(libdir)/gcc-cc1plus ; fi
- -if [ -f collect ] ; then $(INSTALL) collect $(libdir)/gcc-collect ;fi
- -if [ -f collect2 ] ; then $(INSTALL) collect2 $(libdir)/gcc-ld ;fi
- $(INSTALL) g++ $(bindir)
- ***************
- *** 617,624 ****
- -mkdir $(libdir)/g++-include
- -chmod ugo+rx $(libdir)/g++-include
-
- ! install-ld: ld++
- ! $(INSTALL) ld++ $(libdir)/gcc-ld
-
- # do make -f Makefile maketest DIR=../gcc TDIR=../gcc-test
- # in the intended test directory to make it a suitable test directory.
- --- 640,646 ----
- -mkdir $(libdir)/g++-include
- -chmod ugo+rx $(libdir)/g++-include
-
- ! install-ld: ld++ $(libdir)/gcc-ld
-
- # do make -f Makefile maketest DIR=../gcc TDIR=../gcc-test
- # in the intended test directory to make it a suitable test directory.
-