[fpc-pascal] darwin external library name

dmitry boyarintsev skalogryz.lists at gmail.com
Wed Aug 25 09:00:45 CEST 2010

Hi All

Is it expected behavior, that explicitly set library name is not used
in linking for Drawin target (fpc 2.5.1)?

function SomeFunc: Integer; external 'LibName';

'LibName' is not added to link.res, so {$linklib LibName} is required
for successful linking.

Docs says nothing about it:
In fact, docs say that the linker should use the specified library name.
If ignoring the specified name is fine, then it's worthy adding it to docs.


More information about the fpc-pascal mailing list