[fpc-pascal] -Twin32 linker woes

Tomas Hajny XHajT03 at mbox.vol.cz
Thu Mar 11 13:15:44 CET 2010


On Thu, March 11, 2010 12:50, Jonas Maebe wrote:
> On 11 Mar 2010, at 12:28, Adriaan van Os wrote:
>> Marco van de Voort wrote:
>>> In our previous episode, Adriaan van Os said:
>>>> I am cross compiling with fpc svn trunk and -Twin32 on i386 Mac OS
>>>> X to Win32. This works fine, except that {$linklib xxx.dll} says
>>> dlls are usually not $linklib'ed in FPC. What happens if you simply
>>> omit the
>>> linklib?
 .
 .
>> Anyway, the "not found" message is confusing. I suggest a
>> clarification in the section about {$linklib} in the Free Pascal
>> Programmer’s Guide that only static libraries can be linked.
>
> That only applies to Windows.

...and OS/2 (at least).

Tomas





More information about the fpc-pascal mailing list