delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
content-class: | urn:content-classes:message |
MIME-Version: | 1.0 |
Subject: | Linking VC++ apps to cygwin-based DLLs |
Date: | Fri, 23 Jan 2004 00:24:19 +0200 |
Message-ID: | <E19E2FC4AD37D04E9A8832D6BF1ADA42702B67@xmail.il.cgen.biz> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
From: | "Tomer Zekharya" <tomerz AT compugen DOT co DOT il> |
To: | "Cygwin Mailing List (E-mail)" <cygwin AT cygwin DOT com> |
Cc: | "Tomer Zekharya" <tomerz AT compugen DOT co DOT il> |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id i0MMOgDl015077 |
Hi First I want to state that I'm using Cygwin (and VC++) for less than a week. I want to port a certain group of libraries from UNIX to windows. I managed to compile and link it using cygwin, but the Windows applications that needs these libs are MFC based, so I can't compile them in cygwin (at least that's what I understood from searching through the web and through the cygwin mailing list). I tried doing the opposite: compile the UNIX code to DLLs using cygwin, and trying to link to them in VC++, but I get all kind of errors. After compiling the DLLs as described in the "Building DLLs" section in the Cygwin manual, I get the following message when linking in VC++: warning LNK4078: multiple ".text" sections found with different attributes (E0000020) And my application crashes on some kind of memory fault. Since I'm new to this world of cygwin and VC++, I don't really know if I made a mistake in the cygwin side or the VC++ side. If anyone has successfully compiled MFC based applications linking against cygwin-based DLLs, I'll be more than happy to hear how he/she did it. Thanks a lot, Tomer Z. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |