Fails - I will need to retest comctl and comdlg because of the GetSysColorPen Changes.
ole32.dll - (Mingw: missing -lntdll, needs msvcrt import do to _assert usage) dllwrap --add-stdcall-alias --def ole32.spec.def --implib ole32.a -o ole32.dll a ntimoniker.o bindctx.o clipboard.o compobj.o compositemoniker.o datacache.o defa ulthandler.o errorinfo.o filemoniker.o hglobalstream.o ifs.o itemmoniker.o marsh al.o memlockbytes.o moniker.o ole2.o ole2stubs.o ole2impl.o ole2nls.o ole32_main .o oleobj.o oleproxy.o rpc.o stg_bigblockfile.o stg_stream.o storage.o storage32 .o ole32.dll.dbg.o -L../../dlls -ladvapi32 -luser32 -lgdi32 -lrpcrt4 -lkern el32 -lntdll -lmsvcrt -L../../library -lwine -L../../ole -lwine_uuid -lm compobj.o(.text+0xd3e):compobj.c: undefined reference to `MapSL@4' compobj.o(.text+0xd48):compobj.c: undefined reference to `MapSL@4' compobj.o(.text+0xd53):compobj.c: undefined reference to `K32WOWCallback16Ex@20' compobj.o(.text+0xdaf):compobj.c: undefined reference to `MapSL@4' compobj.o(.text+0x15e1):compobj.c: undefined reference to `GetCurrentTask@0' ifs.o(.text+0x487):ifs.c: undefined reference to `MapLS@4' ifs.o(.text+0x529):ifs.c: undefined reference to `MapSL@4' ifs.o(.text+0x543):ifs.c: undefined reference to `MapLS@4' ifs.o(.text+0x551):ifs.c: undefined reference to `UnMapLS@4' ifs.o(.text+0x593):ifs.c: undefined reference to `MapSL@4' ifs.o(.text+0x5f1):ifs.c: undefined reference to `UnMapLS@4' ifs.o(.text+0x691):ifs.c: undefined reference to `MapSL@4' ifs.o(.text+0x910):ifs.c: undefined reference to `GetModuleHandle16@4' ifs.o(.text+0x946):ifs.c: undefined reference to `GetProcAddress16@8' ifs.o(.text+0x97f):ifs.c: undefined reference to `GetProcAddress16@8' ifs.o(.text+0x9bb):ifs.c: undefined reference to `GetProcAddress16@8' ifs.o(.text+0x9f7):ifs.c: undefined reference to `GetProcAddress16@8' ifs.o(.text+0xa33):ifs.c: undefined reference to `GetProcAddress16@8' ifs.o(.text+0xa6f):ifs.c: more undefined references to `GetProcAddress16@8' foll ow ifs.o(.text+0xb5a):ifs.c: undefined reference to `MapLS@4' ifs.o(.text+0xb7f):ifs.c: undefined reference to `MapLS@4' ole2.o(.text+0x1fe4):ole2.c: undefined reference to `LockResource16@4' ole2.o(.text+0x305a):ole2.c: undefined reference to `LoadLibrary16@4' ole2.o(.text+0x307f):ole2.c: undefined reference to `FreeLibrary16@4' ole2.o(.text+0x3093):ole2.c: undefined reference to `CreateMetaFile16@4' ole2.o(.text+0x30c9):ole2.c: undefined reference to `GlobalAlloc16@8' ole2.o(.text+0x30d9):ole2.c: undefined reference to `GlobalLock16@4' ole2.o(.text+0x3100):ole2.c: undefined reference to `CloseMetaFile16@4' storage.o(.text+0x2c51):storage.c: undefined reference to `UnMapLS@4' storage.o(.text+0x4431):storage.c: undefined reference to `GetModuleHandle16@4' storage.o(.text+0x4451):storage.c: undefined reference to `GetProcAddress16@8' storage.o(.text+0x448b):storage.c: undefined reference to `GetProcAddress16@8' storage.o(.text+0x44c7):storage.c: undefined reference to `GetProcAddress16@8' storage.o(.text+0x4503):storage.c: undefined reference to `GetProcAddress16@8' storage.o(.text+0x453f):storage.c: undefined reference to `GetProcAddress16@8' storage.o(.text+0x457b):storage.c: more undefined references to `GetProcAddress1 6@8' follow storage.o(.text+0x4792):storage.c: undefined reference to `MapLS@4' storage.o(.text+0x4817):storage.c: undefined reference to `MapLS@4' storage.o(.text+0x4a6c):storage.c: undefined reference to `UnMapLS@4' storage.o(.text+0x4b63):storage.c: undefined reference to `MapLS@4' storage.o(.text+0x4fff):storage.c: undefined reference to `MapSL@4' storage.o(.text+0x53ff):storage.c: undefined reference to `MapSL@4' storage.o(.text+0x5723):storage.c: undefined reference to `MapSL@4' storage.o(.text+0x58fb):storage.c: undefined reference to `MapSL@4' storage.o(.text+0x5b81):storage.c: undefined reference to `GetModuleHandle16@4' storage.o(.text+0x5ba1):storage.c: undefined reference to `GetProcAddress16@8' storage.o(.text+0x5bb7):storage.c: undefined reference to `GetProcAddress16@8' storage.o(.text+0x5bcd):storage.c: undefined reference to `GetProcAddress16@8' storage.o(.text+0x5be3):storage.c: undefined reference to `GetProcAddress16@8' storage.o(.text+0x5bf9):storage.c: undefined reference to `GetProcAddress16@8' storage.o(.text+0x5c0f):storage.c: more undefined references to `GetProcAddress1 6@8' follow storage.o(.text+0x5d28):storage.c: undefined reference to `MapLS@4' storage.o(.text+0x5dc9):storage.c: undefined reference to `MapLS@4' storage.o(.text+0x5f43):storage.c: undefined reference to `MapSL@4' storage.o(.text+0x651f):storage.c: undefined reference to `MapSL@4' collect2: ld returned 1 exit status dllwrap: gcc exited with status 1 make: *** [ole32.dll] Error 1
psapi.dll - (missing -lntdll import, missing kernel32 import) dllwrap --add-stdcall-alias --def psapi.spec.def --implib psapi.a -o psapi.dll p sapi_main.o psapi.dll.dbg.o -L../../dlls -lkernel32 -lntdll -L../../library -lwine -lm psapi_main.o(.text+0x300):psapi_main.c: undefined reference to `Process32First@8 psapi_main.o(.text+0x317):psapi_main.c: undefined reference to `Process32Next@8' psapi_main.o(.text+0x69c):psapi_main.c: undefined reference to `Module32First@8' psapi_main.o(.text+0x6b3):psapi_main.c: undefined reference to `Module32Next@8' psapi_main.o(.text+0x1254):psapi_main.c: undefined reference to `wine_server_cal l' collect2: ld returned 1 exit status dllwrap: gcc exited with status 1 make: *** [psapi.dll] Error 1
shell32 - (missing -lshlwapi import + needs msvcrt import) dllwrap --add-stdcall-alias --def shell32.spec.def --implib shell32.a -o shell32 .dll brsfolder.o changenotify.o classes.o clipboard.o control.o dataobject.o deb ughlp.o dialogs.o enumidlist.o folders.o iconcache.o memorystream.o pidl.o shell 32_main.o shell.o shelllink.o shlmenu.o shellole.o shellord.o shellpath.o shells tring.o shellreg.o shlexec.o shlfileop.o shlfolder.o shlview.o shpolicy.o shv_bg _cmenu.o shv_item_cmenu.o systray.o shell32.dll.dbg.o -L../../dlls -lole32 -lshlwapi -lcomctl32 -luser32 -lgdi32 -ladvapi32 -lkernel32 -lmsvcrt -L../../lib rary -lwine -L../../ole -lwine_uuid -L../../unicode -lwine_unicode -lm iconcache.o(.text+0x5e3):iconcache.c: undefined reference to `PrivateExtractIcon sA@32' iconcache.o(.text+0x5fe):iconcache.c: undefined reference to `PrivateExtractIcon sA@32' iconcache.o(.text+0x116d):iconcache.c: undefined reference to `PrivateExtractIco nsA@32' iconcache.o(.text+0x119b):iconcache.c: undefined reference to `PrivateExtractIco nsA@32' iconcache.o(.text+0x11e7):iconcache.c: undefined reference to `PrivateExtractIco nsA@32' shell32_main.o(.text+0x31ce):shell32_main.c: more undefined references to `Priva teExtractIconsA@32' follow shell32_main.o(.text+0x363d):shell32_main.c: undefined reference to `GlobalLock1 6@4' shell32_main.o(.text+0x3654):shell32_main.c: undefined reference to `GlobalFree1 6@4' shell32_main.o(.text+0x3de7):shell32_main.c: undefined reference to `MapSL@4' shell32_main.o(.text+0x3e9d):shell32_main.c: undefined reference to `MapSL@4' shell32_main.o(.text+0x3ee2):shell32_main.c: undefined reference to `GlobalLock1 6@4' shell.o(.text+0x564):shell.c: undefined reference to `GlobalLock16@4' shell.o(.text+0x656):shell.c: undefined reference to `GlobalUnlock16@4' shell.o(.text+0x6d2):shell.c: undefined reference to `GlobalFree16@4' shell.o(.text+0x746):shell.c: undefined reference to `GlobalLock16@4' shell.o(.text+0x773):shell.c: undefined reference to `GlobalUnlock16@4' shell.o(.text+0x93c):shell.c: undefined reference to `GlobalAlloc16@8' shell.o(.text+0x94c):shell.c: undefined reference to `GlobalLock16@4' shell.o(.text+0x965):shell.c: undefined reference to `LoadLibrary16@4' shell.o(.text+0xa0a):shell.c: undefined reference to `GlobalFree16@4' shell.o(.text+0xa38):shell.c: undefined reference to `PrivateExtractIconsA@32' shell.o(.text+0xaa1):shell.c: undefined reference to `PrivateExtractIconsA@32' shell.o(.text+0xb0a):shell.c: undefined reference to `GlobalFree16@4' shell.o(.text+0xe5b):shell.c: undefined reference to `GetModuleFileName16@12' shell.o(.text+0x10f1):shell.c: undefined reference to `GetDOSEnvironment16@0' shell.o(.text+0x10ff):shell.c: undefined reference to `MapSL@4' shell.o(.text+0x11c7):shell.c: undefined reference to `GetDOSEnvironment16@0' shell.o(.text+0x11cf):shell.c: undefined reference to `MapSL@4' shell.o(.text+0x1591):shell.c: undefined reference to `CallNextHookEx16@16' shell.o(.text+0x169b):shell.c: undefined reference to `GetModuleHandle16@4' shell.o(.text+0x16ad):shell.c: undefined reference to `GetProcAddress16@8' shell.o(.text+0x16c2):shell.c: undefined reference to `SetWindowsHookEx16@16' shelllink.o(.text+0x71c3):shelllink.c: undefined reference to `wine_get_unix_fil e_name@12' shlexec.o(.text+0xf1e):shlexec.c: undefined reference to `WinExec16@8' shlexec.o(.text+0x1345):shlexec.c: undefined reference to `WinExec16@8' shlexec.o(.text+0x1591):shlexec.c: undefined reference to `WinExec16@8' shlexec.o(.text+0x1691):shlexec.c: undefined reference to `WinExec16@8' collect2: ld returned 1 exit status dllwrap: gcc exited with status 1 make: *** [shell32.dll] Error 1
shlwapi.dll dllwrap --add-stdcall-alias --def shlwapi.spec.def --implib shlwapi.a -o shlwapi .dll ordinal.o path.o reg.o regstream.o shlwapi_main.o string.o url.o shlwa pi.dll.dbg.o -L../../dlls -luser32 -lgdi32 -ladvapi32 -lkernel32 -L../../library -lwine -L../../ole -lwine_uuid -L../../unicode -lwine_unicode -lm string.o(.text+0x1d2d):string.c: undefined reference to `wvsnprintfA@16' string.o(.text+0x1d61):string.c: undefined reference to `wvsnprintfW@16' collect2: ld returned 1 exit status dllwrap: gcc exited with status 1 make: *** [shlwapi.dll] Error 1