This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problems linking g++-generated win32 dlls with VC++ applications


On 2 May 2000, Marat Boshernitsan wrote:

> I have a C++ application in Visual C++ that I need to link with a C++
> dll that is compiled with g++.  

[ rest snipped ]

Sorry, but g++ and VC++ do not share compatible ABI, and are not link
compatible at C++ object (.o or .dll or .a or anything that's been
compiled) level. This situation is not unique to g++ on Windows32 --
the same is currently[1] true for example for Sun C++ and g++ under
SunOS/Solaris, HP C++ and g++ under HP-UX, SGI C++ and g++ under
IRIX, and so on.

[1] There is work underway for a vendor independent ABI, but that's
pretty much the extent of my knowledge on the topic. 

Regards,
Mumit



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]