[fpc-pascal] UDF+FREEBSD+FIREBIRD

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


Am Mittwoch, den 12.11.2008, 20:00 +0100 schrieb Marc Santhoff:
> 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.

Oops, I meant "fpc -a ...".

Marc





More information about the fpc-pascal mailing list