Part 1 - Mingw Port Status 5-20-02

2002-05-20 Thread Steven Edwards

Here are the results from my latest attempt to build wine under mingw. 
We can build alot more now but most of these are still manly stubed
dlls. 

Anywhere it has (needs msvcrt import) I will submit a patch to the 
Makefile.in with my next set of patches. Also anywhere it has missing 
-lshlwapi or lntdll that is because Mingw doesnt come with a libntdll.a
or 
libshlwapi.a so I used wines $dllname.spec.def to create them without
the 
*wine* exports. Mingw's libkernel32.a doesnt seem to export the toolhelp

api calls so I guess I need to add this to list of things I need to
include
when I finnaly start sending them patches.

I dont know how much of the problems below are non-win32api call
problems but the 
ones I am sure about are GetSysColorPen and wvsnprintf(A/W)16.
wvsnprintfA/W is 
only used in shlwapi.dll so it shouldnt be to hard to fix.

My programming skills are very week so I dont know how much help I can
be with 
fixing some of these.

Builds -
avicap32.dll
crtdll.dll
crypt32.dll
dciman32.dll
imagehlp.dll
imm32.dll
mapi32.dll
mpr.dll
msdom.dll
msimg32.dll
msisys.ocx
netapi.dll
oledlg.dll
olepro32.dll
olesvr32.dll
rasapi32.dll
riched32.dll
serialui.dll
shdocvw.dll
tapi32.dll
twain_32.dll
urlmon.dll
winnls.dll
winspool.drv
wintrust.dll

Builds with easy fix -
comcat.dll (needs msvcrt import due to swprintf usage)
dinput.dll (needs msvcrt import do to _assert usage)
odbc32.dll (needs msvcrt import do to _assert usage)

Fails -

comdlg32.dll - (missing -lshlwapi import, missing lwinspool.srv import)
I will need to retest due to removal of GetSysColorPen





Re: Part 1 - Mingw Port Status 5-20-02

2002-05-20 Thread John K. Hohm

 Builds with easy fix - 
 comcat.dll (needs msvcrt import due to swprintf usage) 

I would rather not have comcat.dll import msvcrt.dll, as ntdll.dll exports 
swprintf even on Windows NT.




Re: Part 1 - Mingw Port Status 5-20-02

2002-05-20 Thread Alexandre Julliard

John K. Hohm [EMAIL PROTECTED] writes:

 I would rather not have comcat.dll import msvcrt.dll, as ntdll.dll exports 
 swprintf even on Windows NT.

Actually none of the Wine dlls should import msvcrt, at least not on
Unix. We could add the import only for the mingw case, but I'd argue
that the mingw linker should be doing this automatically.

-- 
Alexandre Julliard
[EMAIL PROTECTED]




RE: Part 1 - Mingw Port Status 5-20-02

2002-05-20 Thread Steven Edwards

 Actually none of the Wine dlls should import msvcrt, at least 
 not on Unix. We could add the import only for the mingw case, 
 but I'd argue that the mingw linker should be doing this 
 automatically.

Ok I will add that to the list. I will be submitting patches/bug reports
To the mingw team in the next week or so. Is there anything else that
you
Think we need from mingw?

The current list of mingw bugs -

MAX_PATH mess in stdlib.h
Basetsd.h Win64 bugs.
Add libshlwapi.a and libntdll.a to mingw
libkernel32.a - Missing toolhlp api exports.
Auto-import of libmsvcrt.a always by linker

Thanks
Steven

Every revolution was once a thought in one man's mind
- Ralph Waldo Emerson