[fpc-pascal] fp universal library ?

Fred van Stappen fiens at hotmail.com
Tue Feb 11 12:08:35 CET 2014


>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 ifnt >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. 

Many thanks Sven.

I have changed stdcall <> cdecl in both import-export, with no luck.
I will do a "Hello World" library to see if problem is still there (because the code of uos is big.).

See you later with the result.

Fred

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


More information about the fpc-pascal mailing list