Subj : Re: coff2omf does not seem to work To : borland.public.cpp.borlandcpp From : Ed Mulroy [TeamB] Date : Sun Sep 05 2004 02:43 pm The coff2omf.exe utility converts an import library for a DLL into a format usable by the linker. It does not convert a static library, a library containing object files. You cannot use object files created in the Microsoft format. .. Ed > Francesco Montorsi wrote in message > news:413b1f60@newsgroups.borland.com... > > I have to convert a library created with MSVC tools from COFF > to OMF format to use it with ilink32 (I'm using the free command > I've downloaded at > http://www.borland.com/products/downloads/download_cbuilder.html). > > I tried the command: > > coff2omf mylib.lib mylib_omf.lib > > but I get a little file of 512 byte (the original lib is more than > 1Mb).... > I tried to use first the MSVC lib utility: > > lib /convert mylib.lib > or > lib /out:try.lib /convert mylib.lib > > and then run the coff2omf utility, but I get always that 512 byte > file.... > > > How can I make coff2omf to work ? .