Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 20 Feb 2003 11:07:14 +0100 (CET) From: Pavel Tsekov X-X-Sender: ptsekov AT moria DOT atlanticsky DOT com To: =?iso-8859-1?q?Eric=20Jacquemard?= cc: cygwin AT cygwin DOT com Subject: Re: Question about mixing objects beetween MSVC++ and GCC In-Reply-To: <20030220094259.8998.qmail@web20704.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT No, you cannot mix C++ object. GCC and MSVC use different name mangling schemes. 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++ > application. > Thanks -- 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/