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


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to