On 5 March 2010 13:19, Marco van de Voort <mar...@stack.nl> wrote:
> In our previous episode, Henry Vermaak said:
>>
>> It's a bit useless if you can't link to any other libraries, no?
>
> You can, you just have to specify the decoration. Or if there is a large
> scale need a modifier or directive to modify stdcall to include decoration
> could be made by interested parties.

Maybe a command line param that does a more fuzzy linking?

>> I guess you can still use ld instead of the internal llinker (and even
>> import libs).
>
> I'd just add the decoration manually. It is typically a one-off effort.

Except if you have cross platform code, then you need an ifdef for
every function you import :(

Henry
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to