Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <200003281523.JAA19729@hp2.xraylith.wisc.edu> To: "vandana yesoda" cc: cygwin Subject: Re: Free Compiler In-reply-to: Your message of "Tue, 28 Mar 2000 15:48:39 +0530." <38E086FF DOT 8007BAFB AT wipro DOT com> Date: Tue, 28 Mar 2000 09:23:10 -0600 From: Mumit Khan "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 (http://www.metrowerks.com/); 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. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com