[fpc-pascal] Linking C object against "Pascal runtime"

Jonas Maebe jonas.maebe at elis.ugent.be
Sun May 9 00:12:22 CEST 2010


On 08 May 2010, at 23:09, Felipe Monteiro de Carvalho wrote:

> FPC automatically does name mangling in your procedures, I guess your
> procedure really looks currently like:
> 
> function _strlen(s: pansichar): integer; cdecl name 'MYUNIT$_STRLEN';

No, it does not. cdecl always results in C name mangling.


Jonas



More information about the fpc-pascal mailing list