[fpc-pascal] fp universal library ?

Sven Barth pascaldragon at googlemail.com
Tue Feb 11 08:39:22 CET 2014


Am 11.02.2014 00:53, schrieb Fred van Stappen:
> I have changed all  cdecl  into stdcall but without luck...
Did you change the calling convention for both the import and the export 
code? (just a sidenote: on Linux you should use cdecl no matter what if 
you want your library to be used by other languages and preferably 
stdcall on Windows (makes a difference only on i386 as for ARM and 
x86_64 (and other CPUs) stdcall maps to cdecl))
> Does the fpc-32 bit libraries work only on a Windows-32bit system (or 
> did i do something wrong ?)
> Will it be the same for Linux-32bit (inside a multi-arch 64bit system) ?
Without some code it's hard to tell what the problem might be. Normally 
it should work, so likely there's a problem in your code that only 
manifests on Win32 or there is (less likely) a bug in the compiler/RTL. 
So if you could minimize your code as much as possible and test then, 
this would be favorable.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140211/b024917c/attachment.html>


More information about the fpc-pascal mailing list