delphi obj改linux下调用so

https://community.idera.com/developer-tools/programming-languages/f/delphi-language/72191/is-there-a-way-to-include-object-files-in-linux#Prerequisites
I have a windows compatible unit in delphi where .obj files are included eg:

{$L SSL_ITP.OBJ}

And the functions calls like:

function I_init(Number : longint) : integer; pascal;

function I_init; external;

To compile the code in Linux how to add the obj file ?

I tried to create .so file for the same SSL_ITP.c file and then including like:

function I_init(Number : longint) : integer; cdecl ; external ‘ssl_itp.so‘;

Is there any other way to include directly like how it is included in windows.

delphi obj改linux下调用so

上一篇:SQL Server 2008 top percent


下一篇:获取mysql内容,生成xml文件,并且以webservice形式发送