delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/09/26/03:26:28

From: jeffdbREMOVETHIS AT netzone DOT com (Mikey)
Subject: Re: MS compatible DLL's with cygwin32 (fwd)
26 Sep 1997 03:26:28 -0700 :
Message-ID: <342b845f.4785517.cygnus.gnu-win32@smtp.netzone.com>
References: <199709260729 DOT JAA04497 AT ruunat DOT fys DOT ruu DOT nl>
Reply-To: jeffdbREMOVETHIS AT netzone DOT com
Mime-Version: 1.0
To: Nick van Eijndhoven <Nick AT fys DOT ruu DOT nl>, gnu-win32 AT cygnus DOT com

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?

On Fri, 26 Sep 1997 09:29:11 +0200 (MET DST), you wrote:

>Since the email address of Geoff Noer turned out to be no longer valid
>I hereby send my question below to this list.
>I would appreciate any help on the subject.
>
>                                                      Thanks.
>                                                       Nick.
>                                                           
>
>*----------------------------------------------------------------------*
> Dr. Nick van Eijndhoven                Department of Subatomic Physics
> email : nick AT fys DOT ruu DOT nl                Utrecht University / NIKHEF
> tel. +31-30-2532331 (direct)           P.O. Box 80.000
> tel. +31-30-2531492 (secr.)            NL-3508 TA Utrecht
> fax. +31-30-2518689                    The Netherlands
> WWW : http://www.fys.ruu.nl/~nick      Office : Ornstein lab. 172
> ----------------------------------------------------------------------
> tel. +41-22-7679751 (direct)           CERN PPE Division / ALICE exp.
> tel. +41-22-7675857 (secr.)            CH-1211 Geneva 23
> fax. +41-22-7679480                    Switzerland
> CERN beep : 13+7294                    Office : B 160 1-012
>*----------------------------------------------------------------------*
>
>*** Nick van Eijndhoven wrote :
>> From Nick AT fys DOT ruu DOT nl  Thu Sep 25 17:51:49 1997
>> From: Nick van Eijndhoven <Nick AT fys DOT ruu DOT nl>
>> Message-Id: <199709251551 DOT RAA02373 AT ruunat DOT fys DOT ruu DOT nl>
>> Subject: MS compatible DLL's with cygwin32
>> To: noer AT cygnus DOT com
>> Date: Thu, 25 Sep 1997 17:51:48 +0200 (MET DST)
>> Cc: Nick AT fys DOT ruu DOT nl (Nick van Eijndhoven)
>> X-Mailer: ELM [version 2.4 PL25]
>> MIME-Version: 1.0
>> Content-Type: text/plain; charset=US-ASCII
>> Content-Transfer-Encoding: 7bit
>> 
>> Dear Geoff,
>> I am using cygwin32 version beta 17 (and actually only the g++ stuff
>> from it) to compile my programs and make libraries.
>> This works all fine (both libxxx.a as xxx.dll) as long as I stay within
>> my G++ world. However, when I want to combine my g++ created DLL's 
>> with the ones produced by MSVC++ (i.e. loading my g++ dll's within
>> a session of a multipurpose package (see http://root.cern.ch) which was
>> built with MSVC++) it doesn't work. To be more precise : somehow the
>> MSVC++ built ROOT package (using the MS windows95 facilities) sees that
>> the g++ dll's are not compatible with the MSVC++ ones.
>> I am running on a PC with windows95.
>> Is there any special flag on g++ (or dlltool) which I should set to
>> produce dll's in the MSVC++ format ?
>> Furthermore, it would be nice to have an option -shared on the g++
>> command, such that one can say (like on UNIX systems)
>> 
>>  g++ -shared -s -o xxx.dll *.cc (or *.o if you like)
>> 
>> to produce directly the shared object.
>> Could you please provide me some info to get along in creating MSVC++
>> compatible dll's using this nice g++ compiler ?
>> 
>>                                          Thanks in advance,
>>                                               Nick.
>>                   
>> *----------------------------------------------------------------------*
>>  Dr. Nick van Eijndhoven                Department of Subatomic Physics
>>  email : nick AT fys DOT ruu DOT nl                Utrecht University / NIKHEF
>>  tel. +31-30-2532331 (direct)           P.O. Box 80.000
>>  tel. +31-30-2531492 (secr.)            NL-3508 TA Utrecht
>>  fax. +31-30-2518689                    The Netherlands
>>  WWW : http://www.fys.ruu.nl/~nick      Office : Ornstein lab. 172
>>  ----------------------------------------------------------------------
>>  tel. +41-22-7679751 (direct)           CERN PPE Division / ALICE exp.
>>  tel. +41-22-7675857 (secr.)            CH-1211 Geneva 23
>>  fax. +41-22-7679480                    Switzerland
>>  CERN beep : 13+7294                    Office : B 160 1-012
>> *----------------------------------------------------------------------*
>> 
>-
>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".
>

(jeffdbREMOVETHIS AT netzone DOT com)
delete REMOVETHIS from the above to reply
         Mikey
-
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