I installed the gcc-2.8.1 source tree and put the contents of the "p" directory of gpc-19980830 into the gcc-tree. Then I applied the patch, as given in the INSTALL file. After configuring with "configure --prefix=/usr" as suggested in "INSTALL" and "make LANGUAGES=pascal" the gcc-2.8.1 compiler starts to compile, but does not complete the full build. Instead it ends with the error message given below (screen dump). Is this a bug in the source code, or did I make a mistake?
B. Kurzan
==========================================================
gcc -c -DIN_GCC -DGPC -DUSE_GNULIBC_1 -g -Wall -I. -I.. -I. -I./.. -I./.. /config setop.c echo " ../c-aux-info.o ../c-iterate.o ../c-pragma.o ../choose-temp.o ../pexecute .o mkstemp.o gpc-common.o gpc-convert.o gpc-decl.o gpc-lang.o gpc-lex.o gpc-type ck.o module.o gpi-hash.o circle-buf.o objects.o parse.o rts.o types.o util.o set op.o version.o" >stamp-gpc1 rm -f ../gpc1 gcc -DIN_GCC -DGPC -DUSE_GNULIBC_1 -g -o ../gpc1 \ `cat stamp-gbe` ../c-aux-info.o ../c-iterate.o ../c-pragma.o ../choose-tem p.o ../pexecute.o mkstemp.o gpc-common.o gpc-convert.o gpc-decl.o gpc-lang.o gpc -lex.o gpc-typeck.o module.o gpi-hash.o circle-buf.o objects.o parse.o rts.o typ es.o util.o setop.o version.o `if [ xobstack.o != x ]; then echo ../obstack.o; e lse true; fi` `case "gcc" in "cc") if [ x != x ]; then echo ../; else true; fi ; ; esac` `if [ x != x ]; then echo ../; else true; fi` module.o: In function `execute': /usr/local/src/gcc-2.8.1/p/module.c:510: undefined reference to `version_flag' module.o: In function `module_must_be_recompiled': /usr/local/src/gcc-2.8.1/p/module.c:796: undefined reference to `version_flag' module.o: In function `compile_module': /usr/local/src/gcc-2.8.1/p/module.c:920: undefined reference to `version_flag' make[1]: *** [../gpc1] Error 1 make[1]: Leaving directory `/usr/local/src/gcc-2.8.1/p' make: *** [gpc1] Error 2 pentium:/usr/local/src/gcc-2.8.1#