Anyone have sucess converting MSVC 2010 COFF libs to OMF

Byron byron.heads at gmail.com
Thu Apr 10 06:58:55 PDT 2014


On Thu, 10 Apr 2014 14:10:37 +1000, Daniel Murphy wrote:

> "Byron"  wrote in message news:li1ba2$5lc$1 at digitalmars.com...
> 
>> So does anyone have a fool prof way of converting coff to omf libs.  I
>> feel like this use to be easy..
> 
> In general, this won't work.  The only thing that is straightforward and
> reliable is converting coff import libraries to omf import libraries.
> 
> Converting the file formats over is possible, but then you usually hit
> problems with differences between microsoft's and digital mars' c
> libraries.
> 
> If possible, building the lib as a dll might be a workaround.

Thats what I ended up doing.  I updates leveldb on code.dlang.org.  Now 
builds with 32 and 64 bit wondows (includes dll and libs).


More information about the Digitalmars-d-learn mailing list