Hello all!
From: Peter Gerwinski peter@gerwinski.de To: grx@gnu.de Subject: Re: grx-2.3.1 Date: Fri, 7 Jul 2000 17:48:37 +0200 Program fGraphs;
uses GRX; (* Portable Graphics library *)
I guess I have to put the path to the library libgrx20X.a instead of "GRX"? That is to say /usr/local/lib. But where and how?
Thanks,
Nathalie
________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Hello!
Nathalie Jarosz wrote:
Program fGraphs;
uses GRX; (* Portable Graphics library *)
I guess I have to put the path to the library libgrx20X.a instead of "GRX"?
Nope. It must be "GRX" here.
`libgrx20X.a' is linked either with a directive
{$L libgrx20X}
(may be already present in `grx.pas') or explicitly on the command line:
gpc --automake -o fgraphs fgraphs.pas -lgrx20X -lX11
That is to say /usr/local/lib. But where and how?
If the path is not known to the compiler, use the `-L' option:
gpc --automake -o fgraphs fgraphs.pas -L /usr/local/lib -lgrx20X -lX11
(But if the library is in /usr/local/lib, it should be found without the `-L'.)
Hope this helps,
Peter