I am using DJGPP and the gpc20b.zip binaries from simtelnet, downloaded
from simtelnet in september 1997.
When I try using the grx20 graphics library (also aviable from the djgpp
download sites) it fails. Most functions in this library have one or more
capital letters in them, eg. GrSetMode(). I manage to declare this in
pascal after reading the info, but when I compile, the linker can't find
the functions, because it is looking for grsetmode().
I have found two workarounds:
1. Use "gpc -S", and replace "call _grsetmode" with "call _GrSetMode" in
the resulting assembly file, then compile and link that.
2. Go back to C and define interface functions like
int grsetmode(...)
{
GrSetMode(...);
}
Both methods have disadvantages...
If you reply to this, please reply directly by mail, as I am not (yet) a
regular reader of this mailing-list. Thanks!
Olov Wilander olwi(a)dagy.danderyd.se