This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: mixing MSVC++ and gcc C++ libs/dlls ?


I doubt that. If I am not completely wrong, .net uses bytecode (like Java)
aka. CIL (Common Intermediary Language).
(http://www.msdnaa.net/Resources/Display.aspx?ResID=373 )

I would not know how you can combine cil code with obj. files. If somebody
knows more I would love to read about it. It is one of the (many) reasons I
don't -and have advised others- to jump on the .net bandwagon. I know for
sure that the Javascript (in M$ language Jscript) development part of VS7
can not be used for developing real ecmascript applications.

with kind regards
 
günter strubinsky
 <strubinsky@acm.org>
<www.itcons.us>


> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
> Of Gareth Pearce
> Sent: Thursday, 23 October, 2003 16:21
> To: 'Heiko Nardmann'; 'ML CygWIN'
> Subject: RE: mixing MSVC++ and gcc C++ libs/dlls ?
> 
> 
> > Hi!
> >
> > The FAQ tells me that only C object files can be mixed.
> >
> > Is this true for MS .NET and gcc 3.x since I expect both to be conform
> to
> > the
> > ABI standard ?
> >
> 
> Gcc 3.0 attempted to conform to the c++ abi - it was wrong - so they fixed
> lots of things and 3.2 has a different abi.  However, it was still wrong,
> and so 3.4 they are going to fix things and there will be a different abi
> again.  If MS .NET actually manage to get conformance with the c++ abi
> correct (for some reason I doubt this) - then you may find increased luck
> mixing c++ object files.  However you'd have to do said mixing without
> mixing std c++ libraries, most likely, since they would probably conflict.
> Name mangling is part of the c++ abi so that wont be an issue.  Therefore
> I
> predict in about 2 years time when g++ 3.6 is out and MS .Net version 2 is
> out - life may have improved in this reguards ;)  If it works before then,
> yay for it.
> 
> Gareth
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]