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.
Frank