Question regarding D v.0110

Patrick Schluter Patrick.Schluter at bbox.fr
Sun Jul 12 11:13:34 UTC 2020


On Saturday, 11 July 2020 at 23:00:29 UTC, Adam D. Ruppe wrote:
> On Saturday, 11 July 2020 at 22:44:08 UTC, Remi wrote:
>> Finally got everything to compile but having linking issues. 
>> The game came with .lib files but I have no idea what format 
>> they are, I assumed a Windows MSVC format but the VC tools 
>> don't seem to be able to read them.
>
> That would be the OMF format that D on Windows supports. It is 
> old, think Windows 95,

OMF is a bit older than windows or even Microsoft DOS. It goes 
back to 8080 times in the 70s
https://www.os2museum.com/wp/how-old-is-omf/

but dmd and the optlink program that
> comes with it on 32 bit windows still has the support code in 
> there.
>
> idk if dub allows it, but if you just compile+link with dmd 
> itself using `-m32` it should use it.




More information about the Digitalmars-d mailing list