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 -- http://home.pages.de/~Peter.Gerwinski/ - G-N-U GmbH: http://www.g-n-u.de Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-20000725 GnuPG key fingerprint: 9E7C 0FC4 8A62 5536 1730 A932 9834 65DB 2143 9422 keys: http://www.gerwinski.de/pubkeys/ - AntiSpam: http://spam.abuse.net