Link with C static library

Trass3r un at known.com
Sun Jan 16 03:54:12 PST 2011


> Should I change my C compiler? Or, there is another way to covert static  
> library from COFF to OMF??

coff2omf should work, but unfortunately it isn't free.
coffimplib is free, but can only convert import libraries.

You may try to use objconv: http://www.agner.org/optimize/#objconv
Though it doesn't work in all cases.

Compiling with dmc solves the issue but is often tedious cause headers are  
different etc.
Easiest solution if you can't do it statically is to use dlls.


More information about the Digitalmars-d-learn mailing list