From: Nick AT fys DOT ruu DOT nl (Nick van Eijndhoven) Subject: MS compatible DLL's with cygwin32 (fwd) 26 Sep 1997 00:59:40 -0700 Message-ID: <199709260729.JAA04497.cygnus.gnu-win32@ruunat.fys.ruu.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit To: gnu-win32 AT cygnus DOT com 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 > 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".