delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/09/26/04:55:39

From: fjh AT cs DOT mu DOT oz DOT 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 DOT JAA04497 AT ruunat DOT fys DOT ruu DOT nl>
To: gnu-win32 AT cygnus DOT com

jeffdb AT netzone DOT 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 AT cs DOT mu DOT oz DOT 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 AT 128 DOT 250 DOT 37 DOT 3         |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019