Frank Heckenbach a écrit :
Maurice Lombardi wrote:
After seing the message of Russ I have also run the tests for this snapshot. (djgpp v2.03 in W98 DOS box).
For the rest, I can't help you, I'm afraid. I can't seem to reproduce the problem, and I don't even have the slightest idea whether it's a DJGPP or GPC problem.
OK forget about it. It was a problem with djgpp.env. At some moment it was said on djgpp that [gcc] and [cpp] sections were no more necessary in djgpp.env, because they now correspond to default rules built into the compilers, which need only the root djgpp directory. They said that these sections were kept in stock djgpp.env only to serve as a template for additional search pathes such as those needed with grx when one wants to keep libraries and include files in the grx tree instead of moving them into standard locations. On september/october I have packed a binary grx232b.zip (which is on agnes) which includes in addition to what is contained in grx-2.3.1.i386-pc-msdosdjgpp.zip the chr and font directories, manifest files for clean removal and also grx20.pas and bccgrx20.pas in the units gpc directory so that they can be found automatically by gpc. To simplify I have put (like you have done in grx231) the libgrx20.a and include files in standard locations, so that users need not to change their stock djgpp.env. To check I have replaced my previous djgpp.env which included locations in the grx directory by a stock djgpp.env. But this one had no [gpc] section ! Strangely enough everything worked (graphics gpc programs, demo programs and my own programs) until I ran the gpc test suite, which failed only on those 6 tests over some 1600. Obviously djgpp was expecting that the [gpc] section will no more be necessary. But this triggers some weird bug, since the problem is not that the libraries are not found, but that -lgpc -lm options are omitted at link stage, only on these 6 files for exactly 5 compilator options ! So now I have a workaround, but probably it is not a solution.
Hope this helps
Maurice