www.digitalmars.com         C & C++   DMDScript  

c++.windows.32-bits - COFF2OMF

reply Anyone <Anyone_member pathlink.com> writes:
Does Coff2omf convert static libs or only linking libs?
If I apply "link /lib /convert xxx.lib" to a Coff lib, it's equal that this lib
is in New Coff format or in old Coff format?

Thanks
Jul 31 2003
parent reply "Walter" <walter digitalmars.com> writes:
"Anyone" <Anyone_member pathlink.com> wrote in message
news:bgbm8k$1dgh$1 digitaldaemon.com...
 Does Coff2omf convert static libs or only linking libs?

I don't understand your question.
 If I apply "link /lib /convert xxx.lib" to a Coff lib, it's equal that

 is in New Coff format or in old Coff format?

It convertes from the Microsoft version of Coff, if that's what you mean.
Jul 31 2003
parent reply Anyone <Anyone_member pathlink.com> writes:
In article <bgcj5d$2aqq$3 digitaldaemon.com>, Walter says...
"Anyone" <Anyone_member pathlink.com> wrote in message
news:bgbm8k$1dgh$1 digitaldaemon.com...
 Does Coff2omf convert static libs or only linking libs?

I don't understand your question.
 If I apply "link /lib /convert xxx.lib" to a Coff lib, it's equal that

 is in New Coff format or in old Coff format?

It convertes from the Microsoft version of Coff, if that's what you mean.

Can I convert static libs in COFF format (not linking lib for DLL) with Coff2OMF? If a lib is in old COFF format, can I convert that with "link /lib /convert xxx.lib"? How do I know if a lib it's in old COFF format or new COFF format? Thanks.
Aug 01 2003
parent "Walter" <walter digitalmars.com> writes:
"Anyone" <Anyone_member pathlink.com> wrote in message
news:bgdt4r$h1q$1 digitaldaemon.com...
 In article <bgcj5d$2aqq$3 digitaldaemon.com>, Walter says...
"Anyone" <Anyone_member pathlink.com> wrote in message
news:bgbm8k$1dgh$1 digitaldaemon.com...
 Does Coff2omf convert static libs or only linking libs?

 If I apply "link /lib /convert xxx.lib" to a Coff lib, it's equal that

 is in New Coff format or in old Coff format?


Coff2OMF?

Most of the time it will work. It's mostly intended for use with import libraries.
 If a lib is in old COFF format, can I convert that with "link /lib

 xxx.lib"?

I don't know what you mean by "old" or "new" coff format. COFF2OMF works on the Microsoft version of COFF.
 How do I know if a lib it's in old COFF format or new COFF format?


 Thanks.

Aug 01 2003