On Mon, 4 Jun 2001, Frank Heckenbach wrote:
Kocherlakota Harikrishna wrote:
Attached is the error we encountered, while building GPC We used gcc-2.95.2 and gpc-20010527 combination
gpc.pas:57: #error Trying to compile gpc.pas with a non-matching GPC version is likely to cause problems.
Did you get the sources via CVS or from a source archive? I suppose the latter. For now just disable or remove the check in p/rts/gpc.pas: 56,57
Peter, the problem seems to be on your side. Besides fixing gpc-20010527.tar.gz, please check what went wrong unless you want this to happen again and again. Normally, pascal.dist (in Make-lang.in) depends on pascal.distdir, and that on pascal.generated-files, and this finally on $(GPC_GENERATED_FILES) which includes gpc.pas. So gpc.pas should have been updated before making the source archive. Perhaps you did not correctly transfer some of my makefile changes to the 2.95 makefiles, or something else.
Results here, building from snapshot as still not using CVS:
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.3/specs gpc version 20010527, based on 2.95.3 20010315 (release)
test suite gave 1 skip, zero errs.
Hope this helps, Russ