[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:
http://lazarus-ccr.sourceforge.net/fpcdoc/prog/progsu131.html#x175-1720007.1.1
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.

thanks,
dmitry



More information about the fpc-pascal mailing list