[fpc-pascal] freepascal + mysql5 + osx
Jonas Maebe
jonas.maebe at elis.ugent.be
Mon Jun 23 10:15:23 CEST 2008
On 23 Jun 2008, at 08:47, Harald Lapp wrote:
> 2008/6/22 Jonas Maebe <jonas.maebe at elis.ugent.be>:
>>
>
>> Add the following to your program:
>>
>> {$linklib mysql50}
>>
>> The reason that this is not necessary on other platforms, is that
>> they
>> implicitly add that based on the external declarations. This was
>> disabled
>> for Darwin when initially porting FPC to that platform because a
>> lot of
>> those external library declarations were wrong there. This was never
>> properly resolved later on, hence the need to still explicitly add
>> the
>> {$linklib ...} statements for Darwin.
>
> this solved my problem -- thanks very much!!
It did? I've now googled a bit and it seems that mysql50 cannot be the
correct name. Did you perhaps use another name in your linklib
statement?
Jonas
More information about the fpc-pascal
mailing list