[fpc-pascal] freepascal + mysql5 + osx

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Jun 23 11:33:15 CEST 2008


On 23 Jun 2008, at 11:28, Joost van der Sluis wrote:

> In the case of Firebird there are two possible names of the library,  
> and
> both are tried. Can I safely add the {$linklib ...} statements for  
> both
> libraries, even if one of them doesn't exist on the system?

No. But you don't need {$linklib ...} statements in case you try to  
dynamically load libraries, only when they are linked to the program  
at compile time.

> And will the unit be compilable at all if the library is not installed
> on the system?

Yes (linking happens when compiling a program or library that uses the  
unit, not when compiling the unit itself).


Jonas



More information about the fpc-pascal mailing list