This is the mail archive of the
mailing list for the Cygwin project.
Re: Question about mixing objects beetween MSVC++ and GCC
- From: Pavel Tsekov <ptsekov at gmx dot net>
- To: Eric Jacquemard <e_jac2001 at yahoo dot fr>
- Cc: cygwin at cygwin dot com
- Date: Thu, 20 Feb 2003 11:07:14 +0100 (CET)
- Subject: Re: Question about mixing objects beetween MSVC++ and GCC
No, you cannot mix C++ object. GCC and MSVC use different name mangling
However, you can try to wrap the C++ functionality in C functions and
link against them. Eventually this will work.
On Thu, 20 Feb 2003, Eric Jacquemard wrote:
> In the FAQ I read that I can mix objects compiled with
> msvc++ and gcc. I would like to have a precision :
> Can I mix mscv++ object files (C++) with C object
> files generated by gcc ?
> If OK : how can I do that ? Do I need specific options
> (for compiling and linking) ? In my case : I would
> like to call my « C_GCC_dll » from a C++_msvc++
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html