Robert P. Ewing wrote:
But when I try to compile something that uses grx, I don't succeed. From the command line (and sorry, Frank, but redir simply doesn't work on my system: it creates the file, and puts nothing into it), error messages fly past, telling me I have undefined references to 'GrWhite' and other things defined in grx20. (I issued gpc --automake -o taste.exe taste.pas)
gpc --automake -o taste.exe taste.pas -lgrx
This assumes that you have installed `libgrx.a' somewhere in your library path, e.g. `c:/djgpp/lib'. It might be named `libgrx20.a' or `libgrx232.a' on your system.
You can also add a line {$L grx} to your `grx.pas' unit. I did so for mine, and IMHO this should be done when including this unit into the GPC distribution.
Peter