[fpc-pascal] Linking FPC code to a C program

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon May 24 14:14:14 CEST 2010

It's normal name mangling, just like C++ also does. To force a
specific name try something like this:

function aplusb(a,b:longint):longint;cdecl name '_aplusb';

Felipe Monteiro de Carvalho

More information about the fpc-pascal mailing list