[fpc-pascal] UDF+FREEBSD+FIREBIRD

Marc Santhoff M.Santhoff at t-online.de
Wed Nov 12 20:00:36 CET 2008


Am Mittwoch, den 12.11.2008, 20:02 +0200 schrieb KES:
> I have tryed in C:
> 
> extern int fntest();
> 
> int fntest()
> {
> return 8;
> }
> 
> this work, but fpc does not (((

Maybe looking at the .o with nm helps to show you how the function name
is mangled.

Or use "fpc -s ..." and "gcc -S -fverbose-asm ..." on both source files
for comparing the labels in the generated assembler code.

HTH,
Marc





More information about the fpc-pascal mailing list