| |
| Posted by Ingvaldur Sigurjonsson in reply to dt | PermalinkReply |
|
Ingvaldur Sigurjonsson
| Here's an example on how I did this showing the conversion of wow32.lib import library.
I have a script that does this for all the libraries from MS SDK, but I'm sure you'll have as much fun as I did, creating that script for your self.
Notice the date and the size of file, it changes in every step (I did remove som excessive output of commands...)
> copy "c:\Program Files\Microsoft SDK\lib\wow32.lib .
1 file(s) copied.
> dir wow32.lib
2003-03-26 16:36 7 896 wow32.lib
> ..\bin\mslink98 /lib /convert wow32.lib
Microsoft (R) Library Manager Version 5.12.8181
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
> dir wow32.lib
2005-04-15 00:35 28 840 wow32.lib
> coff2omf wow32.lib wow32.lib
COFF2OMF: Converting 'c:\utv\dm\mssdk\lib\wow32.lib'
> dir wow32.lib
2005-04-15 00:35 3 584 wow32.lib
-- ex animo
- Ingi
dt wrote:
> Hello,
>
> DigitalMars 8.42 CD, updated to 8.43
> Win2K
>
> I am following the instructions by Christof Meerwald at
> http://cmeerw.org/prog/dm/ms_sdk.html to use newer microsoft sdk with
> DigitalMars C++. I have downloaded sdk, patched headers, and converted to old
> COFF using MSVC6 LINK.EXE. So far so good.
>
> The next step is to use coff2omf to convert to omf format for DigitalMars.
>
> I am using coff2omf.exe from the dm\bin directory. When I run coff2omf over
> the libraries, the output to command window is like this:
>
> COFF2OMF: Converting 'c:\psdk\lib\aclui.lib'
>
> This makes me think it works, but the modification date of the lib files do
> not change, suggesting they really are not converted.
>
> The coff2omf help says the command to use it goes like this:
>
> coff2omf libname.lib
>
> That is the command I used for all the libs (with filename changed of
> course).
>
> I assume the fact that the modification time of file did not change indicates
> the conversion was not successful.
>
> Does anyone have any ideas on what I could do to get these files converted to
> omf format for DigitalMars, or any idea on what might be going wrong?
>
> Thanks,
> Doug
>
>
|