This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: problems linking g++-generated win32 dlls with VC++ applications
- To: Marat Boshernitsan <maratb at cs dot Berkeley dot EDU>
- Subject: Re: problems linking g++-generated win32 dlls with VC++ applications
- From: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
- Date: Wed, 3 May 2000 00:12:12 -0500 (CDT)
- cc: gcc at gcc dot gnu dot org, abegel at cs dot Berkeley dot EDU
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