From: fjh@cs.mu.oz.au (Fergus Henderson)
Subject: Re: MS compatible DLL's with cygwin32 (fwd)
26 Sep 1997 04:55:39 -0700
Message-ID: <199709261134.VAA12091.cygnus.gnu-win32@mundook.cs.mu.OZ.AU>
References: <199709260729.JAA04497@ruunat.fys.ruu.nl>
To: gnu-win32@cygnus.com

jeffdb@netzone.com writes:

>Look at the mangled names in your dll.
>Look at the mangled names in the VC++ dll.
>
>Use Dlltool to create an import library
>
>def file
>EXPORTS
>MSmangledname=g++mangledname
>
>I don't know that this will work, but it is the only
>possibility I can see.
>
>We really need a tool that will translate VC++
>cplusplus names to g++ names, does anyone
>know how to do this?

That won't work.  See the gnu.g++.help FAQ list for an explanation
of why not.  (Short summary: there is no standard ABI for C++.
Class layouts, vtables, etc. will differ between different C++ compilers.)

--
Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3         |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
