Dear Sir,
Thank You for updating GRX library. I have compiled the libgrx20.a library from v2.4.8 sources now under both DOS v7.1, Win98SE/MinGW32 and XPSP2/Mingw32 (with gcc v3.4.4). I have discovered some small bugs and I suggest some improvements, concerning mainly the Pascal parts (the important modifications are attached):
1. I have noticed a small error in GRX.PAS. Line 764 contains the "No_color" variable name for a GrColor field, but the right name would be "Lno_color" comparing to line 1175 of GRX20.H file.
2. The compilation of JPGTEST.PAS does not require GPC.PAS, so "GPC, " can be deleted form line 23 of the source file.
3. The majority of the Pascal programs cannot be compiled without two changes: (1) the correct unit-paths must be given under Win32 (see line 52 in the attached makefile.grx) and (2) the dots must be erased in lines 53-56 of GRX.PAS since the libraries are not explicitly given in the makefiles.
4. The \TEST\BGI\FONTPLAY.C file includes the "gettimeofday" function which does not exist in mingw32 distritbution, only under DOS. This file cannot be compiled under MinGW32 and the corresponding makefile.w32 did not include it in GRX version 2.4.6.
5. Finally, the most strange experience: AR.EXE does not work under MinGW32 with the original CROSS_PLATFORM="" setting if the command to be executed contains more than ~500 characters! Removing "" makes everything to be perfect.
I hope this helps Your work.
Sincerely, Gabor Peintler