Free Compiler

Mumit Khan khan@NanoTech.Wisc.EDU
Tue Mar 28 07:23:00 GMT 2000

"vandana yesoda" <> writes:
> Hi all,
> Is there any free compiler which can understand the name mangling of
> MSVC++, so that the C++ objects of MSVC++ and the compiler can be
> combined.

Please read C++ FAQ, or better yet, Stroustrup's book, on why you cannot,
in general, mix-and-match code from different C++ compilers.

To be able to mix C++ code between two compilers, the compilers must use
the same/compatible Application Binary Interface (ABI) that dictates how
the objects are laid out in memory, and other (secondary) issues such
as name mangling and so on.

The only compiler that *may be* C++ ABI compatible with MSVC is 
Metrowerks ( ); GCC is not, and is unlikely
to be in the near future, ABI compatible with MSVC.

This hopefully also answers the question that you asked in your private
email regarding using dlltool on VC++ C++ symbols.


Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list