According to Krzysztof Kwapien:
Reading specs from d:/djgpp/lib\specs.gpc gpc version 1.2(2.7.2)
That's it!
You are using the beta version gpc-1.2(2.7.2) of GNU Pascal which had a bug concerning linking. If you upgrade to gpc-2.0(2.7.2.1), the bug will vanish.
Please download and install
ftp://kampi.hut.fi/jtv/gnu-pascal/djgpp/gpc20b.zip
It might be necessary to upgrade the whole DJGPP package (or at least the binutils) from v2.0 to v2.01 - which might be reasonable anyway. The current version of RHIDE for instance is much more stable than that which was available in the days of gpc-1.2(2.7.2).
Hope this helps,
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [970201] maintainer GNU Pascal - http://home.pages.de/~gnu-pascal/ [970125]