iostream and msvcrt?

Boaz Harrosh boaz at
Tue Aug 17 04:02:08 CDT 2004

Mike Hearn wrote:

> Why are you trying to use G++ with the MSVCRT (Microsoft Visual C++ 
> runtime) ? That can surely never work: even if the headers were 
> compatible, the ABI used is not.
He meant in a winelib when a winelib links against msvcrt (-nocygwin on 
the winegcc command line). Only the C symbols and  a few C++ (new & 
delete) are exported from wine's msvcrt.spec so only these get linked. 
The rest of the C++ symbols are looked for else where. His current 
problem, though, is Header compatibility.
When you don't use "-nocygwin" than lots of Windows originating code 
(like MFC) does not compile.

Free Life

More information about the wine-devel mailing list