[fpc-devel] Calling conventions

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Jan 3 12:02:58 CET 2011


On 03 Jan 2011, at 04:11, Andrew Haines wrote:

> On linux32 and win32 what cc does fpc use by default?

If you mean "i386" by "32", it's Delphi-style fastcall, aka  
"register". This calling convention is the default on all i386  
platforms.

FPC's implementation is not yet 100% Delphi-compatible at this time  
though, so it will still change in the future (since the only reason  
for supporting this is Delphi compatibility).


Jonas



More information about the fpc-devel mailing list