public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: .dll question
@ 2002-10-02 17:05 Paul G.
  0 siblings, 0 replies; 10+ messages in thread
From: Paul G. @ 2002-10-02 17:05 UTC (permalink / raw)
  To: Robert Collins; +Cc: cygwin

Thank you, Rob.

On 3 Oct 2002 at 9:19, Robert Collins wrote:

> On Thu, 2002-10-03 at 09:13, Paul G. wrote:
> 
> > 	On a related note, can Cygwin generate c++ .dlls which are loadable by msvc++ or 
> > does Microsofts'  method of name mangling prohibit such things?
> 
> No it can't. In general, C++ compilers don't interoperate. The C++-Lite
> FAQ has a section on this.
> 
> From memory, the issues are:
> *name mangling
> *VMT layout
> *new[] management
> *exception handling
> 
> If you want to use cygwin C++ from MSVC, write some C bindings for the
> code.
> 
> Rob

		Paul G.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: .dll question
@ 2002-10-02  9:09 Phil Dempster
  2002-10-02  9:39 ` Igor Pechtchanski
  2002-10-02 16:12 ` Paul G.
  0 siblings, 2 replies; 10+ messages in thread
From: Phil Dempster @ 2002-10-02  9:09 UTC (permalink / raw)
  To: cygwin

> Try not to add to noise for this list unless it
> seems necessary for something I am currently
> porting.  That is my apology ahead of time.
> 
> Does msvc/c++ load .dlls generated using
> gcc -shared  -mno-cygwin?

You can use gcc compiled DLLs with MSVC compiled
executables.  However, you won't be able to debug them
in the MSVC IDE.

Hope this helps
Phil

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread
* .dll question
@ 2002-10-01 16:45 Paul G.
  0 siblings, 0 replies; 10+ messages in thread
From: Paul G. @ 2002-10-01 16:45 UTC (permalink / raw)
  To: cygwin

Hi folks,

	Try not to add to noise for this list unless it seems necessary for something I am 
currently porting.  That is my apology ahead of time.

	Does msvc/c++ load .dlls generated using gcc -shared  -mno-cygwin?

	I've not ever had msvc/c++ so can't say one way or the other.

	Thanks,

		Paul G.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-04-20 14:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-02 17:05 .dll question Paul G.
  -- strict thread matches above, loose matches on Subject: below --
2002-10-02  9:09 Phil Dempster
2002-10-02  9:39 ` Igor Pechtchanski
2002-10-02 16:12 ` Paul G.
2002-10-02 16:19   ` Robert Collins
2002-10-02 16:59     ` Paul G.
2002-10-02 18:12     ` Shankar Unni
2003-04-21  0:21     ` David Starks-Browning
2003-04-21  2:20       ` Dan Kegel
2002-10-01 16:45 Paul G.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).