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.