Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <007601c08564$98ebd4f0$6701a8c0@dafcor1qondarn> From: "David Feustel" To: "Leo Liberti" , References: <20010123164332 DOT 18253 DOT qmail AT web1905 DOT mail DOT yahoo DOT com> Subject: Re: Using cygwin to make C++ DLL's to link with MSVC++ Date: Tue, 23 Jan 2001 12:47:47 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 MKS is now offering a package of header files and dlls that permit compilation of Unix software with VS 6. I only found out about this package a few days ago so I have no experience with it. MKS offers a 30-day evaluation of the software on CDROM. See http://www.mks.com ----- Original Message ----- From: "Leo Liberti" To: Sent: Tuesday, January 23, 2001 11:43 AM Subject: Using cygwin to make C++ DLL's to link with MSVC++ > Hi. I have written a big application in a Unix > GNU environment (GCC + tools), and I've been asked > to port it to Windows. Needless to say, MSVC++ 6.0 > just spits it out. So I downloaded Cygwin, and it > compiled it. I then read everything I could on > "how to make a .DLL" and after much struggling, I made > the DLLs. But now I can't link under Windows. > My guess is that the different C++ mangling scheme > is causing trouble at link time (the MS linker says > it can't find the functions, but in fact they are > clearly there, dumpbin.exe says - but the mangled > names are actually different). > > Anybody ever experienced this problem? In the faq > it says that you can mix gcc .o and ms .obj as long as > they are C. If it's C++, it says, it going to be > difficult. Now, is it difficult or impossible? > > Thanks > > Leo > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - Buy the things you want at great prices. > http://auctions.yahoo.com/ > > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple > -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple