[fpc-pascal]linking pascal objects/units into C

Oliver Graf ograf at rz-online.net
Mon Jun 18 12:43:50 CEST 2001


Hi!

We have a pretty old pascal project (delphi 1 on win95 -- already
ported) and we need to interface it with various script languages
(python, perl, etc.). So we need to link the pascal units to some
C interfacing code for those script languages.

Has anyone done this before and can provide us with some hints how
to archive this (i.e. creating a C header for the unit, calling
conventions, argument passing)?

Target system is linux.

Regards,
  Oliver.




More information about the fpc-pascal mailing list