-nostdlib? Just a WAG, you're mixing the import libs for Windows with Wine's export.
I havent tried -nostdlib. I'll have a look tonight.
Yeah I'm using the mingw win32api package for imports due to WINEs mixture or Win16/32 functions in thier DLLs. I was going to add a "make implib" rule to the wine trees at some point so I wouldnt need the win32api imports but I'm finding bugs in both projects as I go along.
__________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com