Can a lib file converted to 1 ob file?

Andre Pany andre at s-e-a-p.de
Sun Apr 19 07:50:13 UTC 2020


Hi,

My understanding is, a lib file is a collection of multiple obj 
files.

 From a delphi app I want to call D coding without using a dll. 
Delphi does not know the concept of lib files but can link obj 
files.

Linking all single obj files of DRuntime, phobos and my library 
might be possible but I wonder whether there is a better way.

Therefore the question, if I have a d lib file which contains all 
the obj files of DRuntime, phobos and my custom code, is it 
possible to convert it to exactly 1 obj file?

Or must 1 obj file correspond to exactly 1 d module?

Kind regards
Andre


More information about the Digitalmars-d-learn mailing list