According to Bendersky:
gpc -c grx20.pas
That (if I'm right) might create the grx20.o which is the compiled unit. Am I right?
Yes, *and* it creates `grx20.gpi', the precompiled Interface part of the Unit. (Both together make up what is the `.tpu' file in TP.)
The problem is that the only grx20.pas that comes with grx22.zip is just the definition of the unit, but not the code itself. And in the src directory of the grx22 is what I think is the real source, but it's all written in C. So, how can I compile it?
You don't need to: In the directory `/djgpp/contrib/grx22/lib/' there is a file `libgrx20.a'. That's the compiled library which is linked to your programs when you add the `-lgrx20' command line parameter. (If you are using RHIDE, define and activate `grx20' as a library in the `Options|Libraries' menu.)
It says something about a turbo C make. So I think that's what I need to compile the unit. Where do I get it?
GNU make is okay, too. See `doc/grx22.txt', section "Installation for DJGPP".
Hope this helps,
Peter